diff --git a/packages/extension-polkagate/src/popup/history/modal/HistoryItemModal.tsx b/packages/extension-polkagate/src/popup/history/modal/HistoryItemModal.tsx index a03a64220..67b937ac1 100644 --- a/packages/extension-polkagate/src/popup/history/modal/HistoryItemModal.tsx +++ b/packages/extension-polkagate/src/popup/history/modal/HistoryItemModal.tsx @@ -28,7 +28,7 @@ interface Props { export default function HistoryItemModal ({ anotherDay, date, decimal, formatted, info, setDetailInfo, setShowDetail, token }: Props): React.ReactElement { const { t } = useTranslation(); - const _goToDetail = useCallback(() => { + const goToDetail = useCallback(() => { setDetailInfo(info); setShowDetail(true); }, [info, setDetailInfo, setShowDetail]); @@ -58,9 +58,9 @@ export default function HistoryItemModal ({ anotherDay, date, decimal, formatted {date} } - .historyItems:last-child': { border: 'none' }, bgcolor: 'background.paper', borderRadius: '5px' }}> + .historyItems:last-child': { border: 'none' }, bgcolor: 'background.paper', borderRadius: '5px', boxShadow: '0px 0px 3px 2px rgba(0, 0, 0, 0.1)', mx: '3px', width: 'calc(100% - 6px)' }}> - + {action} @@ -82,14 +82,14 @@ export default function HistoryItemModal ({ anotherDay, date, decimal, formatted - {info.success ? t('Completed') : t('Failed')} + {info.success ? t('Completed') : t('Failed')} - + diff --git a/packages/extension-polkagate/src/popup/history/partials/HistoryItem.tsx b/packages/extension-polkagate/src/popup/history/partials/HistoryItem.tsx index cad81a54e..3a3707296 100644 --- a/packages/extension-polkagate/src/popup/history/partials/HistoryItem.tsx +++ b/packages/extension-polkagate/src/popup/history/partials/HistoryItem.tsx @@ -58,7 +58,7 @@ export default function HistoryItem ({ anotherDay, chainName, date, decimal, for {date} } - .historyItems:last-child': { border: 'none' }, bgcolor: 'background.paper', borderRadius: '5px' }}> + .historyItems:last-child': { border: 'none' }, bgcolor: 'background.paper', borderRadius: '5px', boxShadow: '0px 0px 3px 2px rgba(0, 0, 0, 0.1)', mx: '3px', width: 'calc(100% - 6px)' }}>