Skip to content

Commit

Permalink
Issue #119: Fix regression in admin menu heights.
Browse files Browse the repository at this point in the history
Fixes #119.
  • Loading branch information
laryn committed Mar 9, 2024
1 parent 754c858 commit e68b049
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/css/layout/gin_admin_bar.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
}

.admin-bar body {
.admin-bar body.gin--horizontal-toolbar {
border-top: 0 !important;
padding-top: var(--gin-toolbar-height);
}
Expand Down
1 change: 0 additions & 1 deletion dist/css/theme/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
--gin-height-sticky: 60px;
--gin-toolbar-width-collapsed: 66px;
--gin-toolbar-width: 256px;
--gin-toolbar-secondary-height: 0px;
--gin-toolbar-bg-level2: #edeff5;
--gin-toolbar-bg-level3: rgba(44, 45, 47, .05);
--gin-sidebar-width: 320px;
Expand Down
2 changes: 1 addition & 1 deletion styles/layout/gin_admin_bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
}

.admin-bar body {
.admin-bar body.gin--horizontal-toolbar {
border-top: 0 !important;
padding-top: var(--gin-toolbar-height);
}
Expand Down
2 changes: 1 addition & 1 deletion styles/theme/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
--gin-toolbar-width-collapsed: 66px;
--gin-toolbar-width: 256px;
// --gin-toolbar-height: 0px;
--gin-toolbar-secondary-height: 0px;
// --gin-toolbar-secondary-height: 0px;
--gin-toolbar-bg-level2: #edeff5;
--gin-toolbar-bg-level3: #{rgba(#2c2d2f, .05)};

Expand Down

0 comments on commit e68b049

Please sign in to comment.