diff options
author | Hakim El Hattab | 2018-12-17 12:58:55 +0100 |
---|---|---|
committer | Hakim El Hattab | 2018-12-17 12:58:55 +0100 |
commit | 6fe0cbc0dde8a3409194eb1f346ae18313a9c2c5 (patch) | |
tree | 91ebd70059a06fa9e09fdc190bfd47d1177a95aa /css/reveal.css | |
parent | c2270cc0c554216fffd5d6f9316db9d69b5816c8 (diff) |
prefer vh for speaker notes layout
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 11 |
1 files changed, 8 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; } } |