diff options
author | pacien | 2018-07-20 21:31:17 +0200 |
---|---|---|
committer | pacien | 2018-07-20 21:31:17 +0200 |
commit | 5ec493bf9aaba1b827aa4fccf7430721917fdd47 (patch) | |
tree | 0ee2e83382421beac2af984fba37e70542373d77 | |
parent | f169ac0401e896f5865111b139298a9abfa31a3a (diff) | |
download | beamer-viewer-5ec493bf9aaba1b827aa4fccf7430721917fdd47.tar.gz |
Fix welcome screen on small resolutions
-rw-r--r-- | pointless/viewer/viewer.css | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/pointless/viewer/viewer.css b/pointless/viewer/viewer.css index 8ec608f..6d2112e 100644 --- a/pointless/viewer/viewer.css +++ b/pointless/viewer/viewer.css | |||
@@ -19,9 +19,7 @@ a { | |||
19 | 19 | ||
20 | header > h1 { | 20 | header > h1 { |
21 | display: inline-block; | 21 | display: inline-block; |
22 | margin-bottom: 0; | 22 | margin: 0 0.5rem 0 0; |
23 | margin-right: 0.5rem; | ||
24 | |||
25 | } | 23 | } |
26 | 24 | ||
27 | header span { | 25 | header span { |
@@ -34,12 +32,21 @@ header span { | |||
34 | 32 | ||
35 | #welcomeScreen { | 33 | #welcomeScreen { |
36 | display: none; | 34 | display: none; |
35 | max-height: 100%; | ||
36 | min-width: 20rem; | ||
37 | overflow: auto; | ||
38 | padding: 1rem; | ||
39 | box-sizing: border-box; | ||
37 | } | 40 | } |
38 | 41 | ||
39 | #welcomeScreen > div { | 42 | #welcomeScreen > div { |
40 | margin-bottom: 4rem; | 43 | margin-bottom: 4rem; |
41 | } | 44 | } |
42 | 45 | ||
46 | #welcomeScreen > div:last-child { | ||
47 | margin-bottom: 1rem; | ||
48 | } | ||
49 | |||
43 | #welcomeScreen table { | 50 | #welcomeScreen table { |
44 | width: 100%; | 51 | width: 100%; |
45 | border-collapse: collapse; | 52 | border-collapse: collapse; |