From f3d9dff6329b8f950419bce0a63c72be1f01e217 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 28 Aug 2019 00:37:55 +0100 Subject: [PATCH] Bugfix: Squash large blank space at bottom of edit page --- Changelog.md | 1 + themes/default/theme.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index b3287ec..f44e886 100644 --- a/Changelog.md +++ b/Changelog.md @@ -12,6 +12,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t - Fixed a bug in the search query performance metrics - Fill out the statistics help text - Added table of contents to help page + - Squashed the large blank space that sometimes appears at the bottom of the page editor page ### Changed - Made `build.sh` build script more robust, especially when generating the documentation. diff --git a/themes/default/theme.css b/themes/default/theme.css index 2fba8f8..b9735b8 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -115,8 +115,9 @@ a.interwiki_link { color: var(--accent-d1); } .search-result-badges { font-size: 1rem; font-weight: normal; } .search-context { min-height: 3em; max-height: 20em; overflow: hidden; } +.editform { position: relative; } textarea[name=content] { resize: none; } -.fit-text-mirror { position: absolute; left: -10000vw; word-wrap: break-word; white-space: pre-wrap; } +.fit-text-mirror { position: absolute; top: 0; left: -10000vw; word-wrap: break-word; white-space: pre-wrap; } main label:not(.link-display-label) { display: inline-block; min-width: 16rem; } input[type=text]:not(.link-display), input[type=password], input[type=url], input[type=email], input[type=number], textarea { margin: 0.5rem 0; } input[type=text], input[type=password], input[type=url], input[type=email], input[type=number], textarea, textarea[name=content] + pre, #search-box { padding: 0.5rem 0.8rem; background: hsl(var(--accent-a0)); border: 0; border-radius: 0.3rem; font-size: 1rem; color: var(--accent-a3); }