Refine Dashboard Layout and Styles for Improved User Experience
- Adjusted the top positioning of the dashboard tab pane for better alignment. - Updated the flex gap in the main content layout to enhance spacing consistency. - Modified mouse enter delay for dashboard tab items to improve interaction responsiveness.
This commit is contained in:
parent
999c960339
commit
2b0565e69e
@ -4027,13 +4027,13 @@ body.objectKanbanColumnResizing * {
|
|||||||
|
|
||||||
.dashboard-tab-pane {
|
.dashboard-tab-pane {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 10px;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -61,7 +61,7 @@ const DashboardLayout = ({ children }) => {
|
|||||||
className='main-content-layout'
|
className='main-content-layout'
|
||||||
>
|
>
|
||||||
<Content>
|
<Content>
|
||||||
<Flex vertical style={{ height: '100%' }} gap='20px'>
|
<Flex vertical style={{ height: '100%' }} gap='10px'>
|
||||||
<Flex justify='space-between' align='center'>
|
<Flex justify='space-between' align='center'>
|
||||||
<DashboardBreadcrumb style={{ margin: '16px 0' }} />
|
<DashboardBreadcrumb style={{ margin: '16px 0' }} />
|
||||||
{currentObjectTools}
|
{currentObjectTools}
|
||||||
|
|||||||
@ -154,7 +154,7 @@ const DashboardTabItem = ({
|
|||||||
trigger='hover'
|
trigger='hover'
|
||||||
placement='bottom'
|
placement='bottom'
|
||||||
arrow={false}
|
arrow={false}
|
||||||
mouseEnterDelay={0}
|
mouseEnterDelay={1}
|
||||||
mouseLeaveDelay={0}
|
mouseLeaveDelay={0}
|
||||||
destroyOnHidden
|
destroyOnHidden
|
||||||
open={isDragging ? false : previewOpen}
|
open={isDragging ? false : previewOpen}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user