Skip to content

Commit

Permalink
fix: mf-5131 allow to scroll in nft detail dialog (#10586)
Browse files Browse the repository at this point in the history
* chore: grammar: Management network -> Manage Network

* fix: mf-5131 allow to scroll in nft detail dialog
  • Loading branch information
UncleBill committed Aug 23, 2023
1 parent 8f29276 commit fbff7db
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/mask/shared-ui/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@
"plugin_wallet_connect_fortmatic": "Connect Fortmatic",
"plugin_wallet_choose_network": "Choose Network",
"plugin_disabled_tip": "You need to open the DAPP to view the specific content.",
"management_network": "Manage Network",
"manage_network": "Manage Network",
"network_management_add_network": "Add Network",
"network_name": "Network Name",
"rpc_url": "RPC URL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const ChooseNetworkModal = memo(function ChooseNetworkModal({ ...rest }:

const action = (
<ActionButton fullWidth onClick={() => navigate(PopupRoutes.NetworkManagement)}>
Management network
{t('manage_network')}
</ActionButton>
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const NetworkManagement = memo(function NetworkManagement() {
const { t } = useI18N()
const { classes, theme } = useStyles()
const navigate = useNavigate()
useTitle(t('management_network'))
useTitle(t('manage_network'))

const networks = useNetworks(NetworkPluginID.PLUGIN_EVM)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ const useStyles = makeStyles<{ listItemBackground?: string; listItemBackgroundIc
padding: 24,
boxSizing: 'border-box',
paddingBottom: 72,
overflow: 'auto',
'&::-webkit-scrollbar': {
display: 'none',
},
},
tabWrapper: {
width: 'calc(100% - 336px)',
Expand Down

0 comments on commit fbff7db

Please sign in to comment.