fix interaction between burger menu and news listing

This commit is contained in:
Albert Yi
2018-10-26 15:19:10 -07:00
parent 3a5eba0eaf
commit 1fb7924afb
2 changed files with 8 additions and 4 deletions

View File

@@ -59,12 +59,16 @@
} }
} }
header {
position: relative;
}
#maintoggle { #maintoggle {
display: block; display: block;
font-weight: bold; font-weight: bold;
position: absolute; position: absolute;
top: 3vw; top: 2vw;
right: 4vw; right: 3vw;
font-size: 2em; font-size: 2em;
&.toggler-active { &.toggler-active {

View File

@@ -96,9 +96,9 @@
</head> </head>
<%= tag.body **body_attributes(CurrentUser.user) do %> <%= tag.body **body_attributes(CurrentUser.user) do %>
<header id="top"> <%= render "news_updates/listing" %>
<%= render "news_updates/listing" %>
<header id="top">
<h1><%= link_to Danbooru.config.app_name, "/" %></h1> <h1><%= link_to Danbooru.config.app_name, "/" %></h1>
<div id="maintoggle"> <div id="maintoggle">