chore: adjust sidebar width

This commit is contained in:
Maël Gangloff 2024-12-28 21:39:52 +01:00
parent 631bb59467
commit 0f5890324d
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629
3 changed files with 7 additions and 4 deletions

View File

@ -78,7 +78,7 @@ export default function App() {
<AuthenticatedContext.Provider value={contextValue}>
<Layout hasSider style={{minHeight: '100vh'}}>
{/* Ant will use a break-off tab to toggle the collapse of the sider when collapseWidth = 0*/}
<Layout.Sider collapsible breakpoint="sm" {...(sm ? {collapsedWidth: 0} : {})}>
<Layout.Sider collapsible breakpoint="sm" width={220} {...(sm ? {collapsedWidth: 0} : {})}>
<Sider isAuthenticated={isAuthenticated}/>
</Layout.Sider>
<Layout>

View File

@ -85,7 +85,7 @@ export function Sider({isAuthenticated}: { isAuthenticated: boolean }) {
{
key: '/tracking/domains',
icon: <TableOutlined/>,
label: t`Tracked domain names`,
label: t`Tracking table`,
disabled: !isAuthenticated,
onClick: () => navigate('/tracking/domains')
},

View File

@ -149,8 +149,7 @@ msgid "My Watchlists"
msgstr ""
#: assets/components/Sider.tsx:88
#: assets/pages/StatisticsPage.tsx:68
msgid "Tracked domain names"
msgid "Tracking table"
msgstr ""
#: assets/components/Sider.tsx:95
@ -606,6 +605,10 @@ msgstr ""
msgid "Domain names in database"
msgstr ""
#: assets/pages/StatisticsPage.tsx:68
msgid "Tracked domain names"
msgstr ""
#: assets/pages/StatisticsPage.tsx:82
msgid "Purchased domain names"
msgstr ""