Skip to content

Commit f9ba3c5

Browse files
authored
Merge pull request #255 from cmu-delphi/sgratzl/bugfix2
style: another layout fix for new covidcast
2 parents 350c967 + 6824163 commit f9ba3c5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

themes/delphi/assets/css/pages/_covidcast.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
.covidcast_wrapper {
66
display: flex;
77
flex-direction: column;
8-
min-height: 100vh;
9-
}
8+
height: 100vh;
109

11-
.covidcast_wrapper:not(.covidcast_wrapper_footer) > footer {
12-
display: none;
10+
> footer {
11+
display: none;
12+
}
1313
}

themes/delphi/layouts/_default/covidcast_app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script src="{{ (partial "covidcast/find-file.html" "bundle.*\\.js$")| relURL }}"></script>
77
{{ end }}
88
{{ define "breadcrumb" }}<!-- no breadcrumb -->{{ end }}
9-
{{ define "body_class" }}covidcast_wrapper {{ if ne .Params.footer false }}covidcast_wrapper_footer{{ end }}{{ end }}
9+
{{ define "body_class" }}{{ if eq .Params.footer false }}covidcast_wrapper{{ end }}{{ end }}
1010
{{ define "main" }}
1111
<div id="vizbox">
1212
<div class="ie-banner" style="display: none">

0 commit comments

Comments
 (0)