diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-12-20 14:24:46 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-12-20 14:34:15 +0300 |
commit | a418fadac94b5b4d377696914a8de7f159d4d422 (patch) | |
tree | 196ab0639ad2e114c85432b007a83f2498d7b267 /css | |
parent | 27f4c4e9804e608ad56d31b1f2856a8351ed3072 (diff) |
Fix CSS to work around wrong gallery DOM structure
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'css')
-rw-r--r-- | css/styles.css | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/css/styles.css b/css/styles.css index 1390bb9c..cc3596af 100644 --- a/css/styles.css +++ b/css/styles.css @@ -24,6 +24,10 @@ div.crumb.last a { cursor: default; } +#controls { + margin-top: 45px; +} + #controls .button { margin-top: 5px; width: 40px; @@ -78,16 +82,16 @@ div.crumb.last a { -webkit-overflow-scrolling: touch; -webkit-transition: background-color 1s linear; transition: background-color 1s linear; + margin-top: -45px; + height: calc(100% - 45px); } #gallery.hascontrols { position: relative; overflow: hidden; text-align: justify; - top: 45px; padding-bottom: 10px; margin-bottom: 45px; - margin-top: 0; } #gallery .row { |