Skip to content

Commit

Permalink
Fix cookie warning (#1706)
Browse files Browse the repository at this point in the history
* Update base.jet.html

* Update listing.jet.html

* Update main.css

* bottom padding needs to be higher than top padding otherwise it looks off
  • Loading branch information
MMP0 authored and Kiloutre committed Nov 3, 2017
1 parent 30570e2 commit 57d2e32
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ img[class$="-w"] {
bottom: 0;
left: 0;
width: 100%;
height: 60px;
padding: 7px 10px;
padding: 7px 10px 9px;
text-align: center;
font-weight: bold;
background: hsla(200, 100%, 88%, 0.9);
Expand Down
1 change: 1 addition & 0 deletions templates/layouts/partials/base.jet.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
</div>
</div>
{{end}}
{{ if !EUCookieLaw }}<div id="cookie-warning"><span id="cookie-warning-close" class="close">×</span>{{ T("cookie_warning")|raw }}</div>{{ end }}
<div class="centered">{{ yield ad_wide(Type=AdType) }}</div>
<footer id="footer">
<div class="container footer center">
Expand Down
1 change: 0 additions & 1 deletion templates/site/torrents/listing.jet.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
</tbody>
</table>
</div>
{{ if !EUCookieLaw }}<div id="cookie-warning"><span id="cookie-warning-close" class="close">×</span>{{ T("cookie_warning")|raw }}</div>{{ end }}
{{ if User.HasAdmin() }}
<div class="modtools">
<button id="show_actions" class="form-input" data-toggle-text="{{ T("hide_mod_tools")}}">{{ T("show_mod_tools")}}</button>
Expand Down

0 comments on commit 57d2e32

Please sign in to comment.