diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2018-12-17 12:58:55 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2018-12-17 12:58:55 +0100 |
commit | 6fe0cbc0dde8a3409194eb1f346ae18313a9c2c5 (patch) | |
tree | 91ebd70059a06fa9e09fdc190bfd47d1177a95aa /css | |
parent | c2270cc0c554216fffd5d6f9316db9d69b5816c8 (diff) | |
download | perl-software-in-gnu-guix-6fe0cbc0dde8a3409194eb1f346ae18313a9c2c5.tar perl-software-in-gnu-guix-6fe0cbc0dde8a3409194eb1f346ae18313a9c2c5.tar.gz |
prefer vh for speaker notes layout
Diffstat (limited to 'css')
-rw-r--r-- | css/reveal.css | 11 | ||||
-rw-r--r-- | css/reveal.scss | 5 |
2 files changed, 13 insertions, 3 deletions
diff --git a/css/reveal.css b/css/reveal.css index 4a9c604..dc12ee4 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1531,19 +1531,24 @@ body { border-left: 0; max-width: none; max-height: 70%; + max-height: 70vh; overflow: visible; } .reveal.show-notes .speaker-notes { top: 100%; left: 0; width: 100%; - height: 42.8571428571%; } } + height: 42.8571428571%; + height: 30vh; + border: 0; } } @media screen and (max-width: 600px) { .reveal.show-notes { - max-height: 60%; } + max-height: 60%; + max-height: 60vh; } .reveal.show-notes .speaker-notes { top: 100%; - height: 66.6666666667%; } + height: 66.6666666667%; + height: 40vh; } .reveal .speaker-notes { font-size: 14px; } } diff --git a/css/reveal.scss b/css/reveal.scss index 63d1d45..8715762 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -1684,6 +1684,7 @@ $controlsArrowAngleActive: 36deg; border-left: 0; max-width: none; max-height: 70%; + max-height: 70vh; overflow: visible; } @@ -1692,17 +1693,21 @@ $controlsArrowAngleActive: 36deg; left: 0; width: 100%; height: (30/0.7)*1%; + height: 30vh; + border: 0; } } @media screen and (max-width: 600px) { .reveal.show-notes { max-height: 60%; + max-height: 60vh; } .reveal.show-notes .speaker-notes { top: 100%; height: (40/0.6)*1%; + height: 40vh; } .reveal .speaker-notes { |