diff options
| author | Stephen Blott | 2016-04-22 16:03:26 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-04-22 16:35:39 +0100 |
| commit | 4c707140985ae03e3c523f2e6e4b6cb4c8465236 (patch) | |
| tree | 1079539eed6b925c0753834762e2c6a1a0ad62a6 /pages/help_dialog.html | |
| parent | aeca4facc27e694d79228637994f2a5608606ab3 (diff) | |
| download | vimium-4c707140985ae03e3c523f2e6e4b6cb4c8465236.tar.bz2 | |
Better help-dialog formatting.
Use margins to centre the help dialog. This works better on narrow
windows, and seems to produce a balanced dialog in a variety of cases.
Diffstat (limited to 'pages/help_dialog.html')
| -rw-r--r-- | pages/help_dialog.html | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/pages/help_dialog.html b/pages/help_dialog.html index 389f09f2..e95dd403 100644 --- a/pages/help_dialog.html +++ b/pages/help_dialog.html @@ -16,10 +16,20 @@ <!-- Note that the template placeholders (e.g. "pageNavigation") will be filled in by the background page with the up-to-date key bindings when the dialog is shown. --> <div id="vimiumHelpDialog"> - <a class="vimiumReset optionsPage" href="#">Options</a> - <a class="vimiumReset wikiPage" href="https://github.com/philc/vimium/wiki" target="_blank">Wiki</a> - <a class="vimiumReset closeButton" href="#">×</a> - <div id="vimiumTitle" class="vimiumReset"><span class="vimiumReset" style="color:#2f508e">Vim</span>ium <span id="help-dialog-title"></span></div> + <div> + <table> + <tr> + <td> + <span id="vimiumTitle" class="vimiumReset"><span class="vimiumReset" style="color:#2f508e">Vim</span>ium <span id="help-dialog-title"></span></span> + </td> + <td class="vimiumHelpDialogTopButtons"> + <a class="vimiumReset" id="helpDialogOptionsPage" href="#">Options</a> + <a class="vimiumReset" id="helpDialogWikiPage" href="https://github.com/philc/vimium/wiki" target="_blank">Wiki</a> + <a class="vimiumReset closeButton" href="#">×</a> + </td> + </tr> + </table> + </div> <div class="vimiumReset vimiumDivider"></div> <div class="vimiumReset vimiumColumn"> <table class="vimiumReset"> |
