Dashboard: Make some imbrovents in sidebar in order to avoid flickering

This commit is contained in:
Konstantinos Triantafyllou 2023-01-26 16:47:03 +02:00
parent 96d4ac8ed1
commit 4455b94804
1 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
:root {
--dashboard-sidebar-width: 280px;
--dashboard-sidebar-mini-width: 100px;
--dashboard-transition-delay: 0.5s;
--dashboard-transition-delay: 0.25s;
}
@dashboard-page-content-background: @global-background;
@ -152,7 +152,11 @@
&.uk-parent {
& > a {
padding: @dashboard-menu-section-item-padding-vertical (3*@dashboard-menu-section-item-padding-horizontal) @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal;
padding: @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal;
& > .uk-flex {
margin-right: @dashboard-menu-section-item-padding-horizontal;
}
&::after {
color: @dashboard-menu-section-item-parent-icon-color;
@ -329,12 +333,8 @@
& > ul > li {
&.uk-parent {
& > a {
padding-right: @dashboard-menu-section-item-padding-horizontal !important;
&::after {
content: none;
}
& > a::after {
content: '';
}
& .uk-nav-sub {