From 5906b1237562e28faa1e2f2206d953ae3ab59f62 Mon Sep 17 00:00:00 2001
From: Stephen Blott
Date: Sat, 23 Apr 2016 08:57:51 +0100
Subject: Fix help-dialog scroll bars and min width.
---
content_scripts/vimium.css | 9 ++-
pages/help_dialog.html | 150 +++++++++++++++++++++++----------------------
2 files changed, 83 insertions(+), 76 deletions(-)
diff --git a/content_scripts/vimium.css b/content_scripts/vimium.css
index a1d88a18..09548268 100644
--- a/content_scripts/vimium.css
+++ b/content_scripts/vimium.css
@@ -150,17 +150,22 @@ iframe.vimiumHelpDialogFrame {
z-index: 2147483645; /* One less than hint markers. */
}
-div#vimiumHelpDialog {
+div#vimiumHelpDialogContainer {
opacity:1.0;
background-color:white;
border:2px solid #b3b3b3;
border-radius:6px;
- padding:8px 12px;
width: 840px;
max-width: calc(100% - 100px);
max-height: calc(100% - 100px);
margin: 50px auto;
overflow-y: auto;
+ overflow-x: auto;
+}
+
+div#vimiumHelpDialog {
+ min-width: 600px;
+ padding:8px 12px;
}
span#vimiumTitle, span#vimiumTitle span, span#vimiumTitle * { font-size:20px; }
diff --git a/pages/help_dialog.html b/pages/help_dialog.html
index a0ba6de5..f8152d60 100644
--- a/pages/help_dialog.html
+++ b/pages/help_dialog.html
@@ -15,83 +15,85 @@
-
-
-
-
-
-
- | | Navigating the page |
-
-
-
-
-
-
-
-
- | | Using the vomnibar |
-
-
-
- | | Using find |
-
-
-
- | | Navigating history |
-
-
-
- | | Manipulating tabs |
-
-
-
- | | Miscellaneous |
-
-
-
-
+
+
+
+
+
+
+
+ | | Navigating the page |
+
+
+
+
+
+
+
+
+ | | Using the vomnibar |
+
+
+
+ | | Using find |
+
+
+
+ | | Navigating history |
+
+
+
+ | | Manipulating tabs |
+
+
+
+ | | Miscellaneous |
+
+
+
+
-
+
-
-
+
+
-
--
cgit v1.2.3