diff options
| author | Stephen Blott | 2016-04-18 14:40:53 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-04-18 14:47:18 +0100 |
| commit | a5a61567730f3055eefdf84435a80253d5cb1cc3 (patch) | |
| tree | 684d5403015e000cfebaf2620c1bf69e4039d698 /content_scripts | |
| parent | d5e7e210f19c97ed656e974255efc6223c81ce82 (diff) | |
| download | vimium-a5a61567730f3055eefdf84435a80253d5cb1cc3.tar.bz2 | |
Tweak max height of help dialog.
Apart from looking better (ie. symmetric), this also ensures that the
help dialog does not overlap the footer on the options page (which is
ugly).
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/vimium.css | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/content_scripts/vimium.css b/content_scripts/vimium.css index a763b159..f902363c 100644 --- a/content_scripts/vimium.css +++ b/content_scripts/vimium.css @@ -151,7 +151,7 @@ iframe.vimiumHelpDialogFrame { left: 0px; border: none; - /* One less than hint markers and the vomnibar. */ + /* One less than hint markers. */ z-index: 2147483645; } @@ -163,13 +163,14 @@ div#vimiumHelpDialog { border:2px solid #b3b3b3; border-radius:6px; padding:8px 12px; - width:640px; - max-height: calc(100% - 80px); + top:50px; left:50%; + width:640px; + max-height: calc(100% - 100px - 16px); /* 100% - 2*top - 2*padding for top/bottom */ /* This needs to be 1/2 width to horizontally center the help dialog */ margin-left:-320px; - top:50px; -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 6px; + overflow-x: auto; overflow-y: auto; } |
