Skip to content

Commit 4c8b754

Browse files
authored
Merge pull request #8 from Lillinator/fix-anon-hide
Fix hide for anon
2 parents 7d9bcd4 + fda2837 commit 4c8b754

File tree

2 files changed

+31
-29
lines changed

2 files changed

+31
-29
lines changed

desktop/desktop.scss

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
// @if $show_navigation_menu_to_logged-in_only =="true" {
2-
// html.anon {
1+
2+
@if $show_navigation_menu_to_logged-in_only =="true" {
3+
4+
html.anon {
35

46
// If sidebar opened use the closed style
5-
// body.has-sidebar-page {
6-
// #main-outlet-wrapper {
7-
// grid-template-columns: 0 minmax(0, 1fr);
8-
// gap: 0;
9-
// padding-left: 10px;
10-
// }
7+
body.has-sidebar-page {
8+
#main-outlet-wrapper {
9+
grid-template-columns: 0 minmax(0, 1fr);
10+
gap: 0;
11+
padding-left: 10px;
12+
}
1113

12-
// .wrap {
13-
// max-width: var(--d-max-width);
14-
// }
15-
// }
14+
.wrap {
15+
max-width: var(--d-max-width);
16+
}
17+
}
1618

17-
// // Hide hamburger button
18-
// .header-sidebar-toggle {
19-
// display: none;
20-
// }
21-
// }
22-
// }
19+
// Hide hamburger button
20+
.header-sidebar-toggle {
21+
display: none;
22+
}
23+
}
24+
}

mobile/mobile.scss

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
// @if $show_navigation_menu_to_logged-in_only =="true" {
2-
// html.anon {
1+
@if $show_navigation_menu_to_logged-in_only =="true" {
2+
html.anon {
33

44
// Hide hamburger button
5-
// .d-header-icons {
6-
// .header-dropdown-toggle {
7-
// &.hamburger-dropdown {
8-
// display: none;
9-
// }
10-
// }
11-
// }
12-
// }
13-
// }
5+
.d-header-icons {
6+
.header-dropdown-toggle {
7+
&.hamburger-dropdown {
8+
display: none;
9+
}
10+
}
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)