Skip to content

Commit

Permalink
Fixed tags dropdown in header
Browse files Browse the repository at this point in the history
Former-commit-id: aa777b1 [formerly db46d86]
Former-commit-id: 699ba420070fafb98560287c7f94c2e3cfd7e515
Former-commit-id: 06a50d4
  • Loading branch information
UtkarshVerma committed Apr 10, 2018
1 parent b44cd8e commit a15cada
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
16 changes: 8 additions & 8 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
</head>

<body>
{{ partial "sidebar.html" . }}
<div class="bg">{{ partial "background.html" . }}</div>
<div class="pusher">
<div class="flipper">
<div class="front">
{{ block "frontmenu" . }} {{ end }} {{ block "main" . }} {{ end }}
</div>
<div class="back">
{{ partial "flip.html" . }}
<div class="flipper">
<div class="front">
{{ block "frontmenu" . }} {{ end }} {{ block "main" . }} {{ end }}
</div>
<div class="back">
{{ partial "flip.html" . }}
</div>
</div>
</div>
</div>
</div>
{{ partial "sidebar.html" . }}
{{ if .Site.Params.twitterEmoji }}{{ partial "twemoji.html" . }}{{ end }}
{{ if .Site.Params.enableShortest }}{{ partial "shortest.html" }}{{ end }}
</body>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
{{ end }}

{{ if .IsPage }}
<div id="sidebarBtn" class="item" onClick="$('.ui.sidebar') .sidebar('setting', 'transition', 'overlay').sidebar('toggle');">
<div id="sidebarBtn" class="item" onClick="$('.ui.sidebar').sidebar('setting', 'transition', 'overlay').sidebar('toggle');">
<i class="inverted big link sidebar icon" title="Show Sidebar"></i>
</div>
{{ end }}
Expand Down
9 changes: 8 additions & 1 deletion static/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,20 @@ header.ui.inverted.segment {
-o-perspective: 1000px;
perspective: 1000px;
z-index: 0;
}

div.pusher {
overflow-y: auto !important;
background-color: transparent !important;
height: 100vh;
width: 100vw;
overflow-y: auto;
overflow-x: hidden;
}

div.pusher.dimmed {
overflow-y: hidden !important;
}

.pusher.flip-it .flipper {
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
Expand Down

0 comments on commit a15cada

Please sign in to comment.