Skip to content

Commit a15cada

Browse files
committed
Fixed tags dropdown in header
Former-commit-id: aa777b1 [formerly db46d86] Former-commit-id: 699ba420070fafb98560287c7f94c2e3cfd7e515 Former-commit-id: 06a50d4
1 parent b44cd8e commit a15cada

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

layouts/_default/baseof.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111
</head>
1212

1313
<body>
14-
{{ partial "sidebar.html" . }}
1514
<div class="bg">{{ partial "background.html" . }}</div>
1615
<div class="pusher">
17-
<div class="flipper">
18-
<div class="front">
19-
{{ block "frontmenu" . }} {{ end }} {{ block "main" . }} {{ end }}
20-
</div>
21-
<div class="back">
22-
{{ partial "flip.html" . }}
16+
<div class="flipper">
17+
<div class="front">
18+
{{ block "frontmenu" . }} {{ end }} {{ block "main" . }} {{ end }}
19+
</div>
20+
<div class="back">
21+
{{ partial "flip.html" . }}
22+
</div>
2323
</div>
2424
</div>
2525
</div>
26-
</div>
26+
{{ partial "sidebar.html" . }}
2727
{{ if .Site.Params.twitterEmoji }}{{ partial "twemoji.html" . }}{{ end }}
2828
{{ if .Site.Params.enableShortest }}{{ partial "shortest.html" }}{{ end }}
2929
</body>

layouts/partials/nav.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
{{ end }}
5959

6060
{{ if .IsPage }}
61-
<div id="sidebarBtn" class="item" onClick="$('.ui.sidebar') .sidebar('setting', 'transition', 'overlay').sidebar('toggle');">
61+
<div id="sidebarBtn" class="item" onClick="$('.ui.sidebar').sidebar('setting', 'transition', 'overlay').sidebar('toggle');">
6262
<i class="inverted big link sidebar icon" title="Show Sidebar"></i>
6363
</div>
6464
{{ end }}

static/css/site.css

+8-1
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,20 @@ header.ui.inverted.segment {
324324
-o-perspective: 1000px;
325325
perspective: 1000px;
326326
z-index: 0;
327+
}
328+
329+
div.pusher {
330+
overflow-y: auto !important;
327331
background-color: transparent !important;
328332
height: 100vh;
329333
width: 100vw;
330-
overflow-y: auto;
331334
overflow-x: hidden;
332335
}
333336

337+
div.pusher.dimmed {
338+
overflow-y: hidden !important;
339+
}
340+
334341
.pusher.flip-it .flipper {
335342
-webkit-transform: rotateY(180deg);
336343
-moz-transform: rotateY(180deg);

0 commit comments

Comments
 (0)