Enhance Dashboard Layout and CSS Styles
- Updated the DashboardLayout component to set the height to 100% for improved layout consistency. - Added padding to the dashboard splitter panels in the CSS to ensure proper spacing and alignment within the dashboard interface.
This commit is contained in:
parent
867a9c4e61
commit
c9f854379a
@ -1568,6 +1568,10 @@ span.ant-skeleton-input.ant-skeleton-input-sm.text-skeleton {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dashboard-splitter.farmcontrol-splitter > .ant-splitter-panel {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.dashboard-splitter.farmcontrol-splitter
|
.dashboard-splitter.farmcontrol-splitter
|
||||||
> .ant-splitter-bar
|
> .ant-splitter-bar
|
||||||
.ant-splitter-bar-dragger::before {
|
.ant-splitter-bar-dragger::before {
|
||||||
|
|||||||
@ -51,7 +51,10 @@ const DashboardLayout = ({ children }) => {
|
|||||||
>
|
>
|
||||||
<DashboardNavigation />
|
<DashboardNavigation />
|
||||||
<DashboardSidebarSplitter sidebar={sidebar}>
|
<DashboardSidebarSplitter sidebar={sidebar}>
|
||||||
<Layout style={{ padding: '24px' }} className='main-content-layout'>
|
<Layout
|
||||||
|
style={{ padding: '24px', height: '100%' }}
|
||||||
|
className='main-content-layout'
|
||||||
|
>
|
||||||
<Content>
|
<Content>
|
||||||
<Flex vertical style={{ height: '100%' }} gap='20px'>
|
<Flex vertical style={{ height: '100%' }} gap='20px'>
|
||||||
<Flex justify='space-between'>
|
<Flex justify='space-between'>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user