Bugfix: fix the large blank space issue in the blue & photo themes

Ref 
https://github.com/sbrl/Pepperminty-Wiki/blob/master/Changelog.md#fixed-3
This commit is contained in:
Starbeamrainbowlabs 2020-07-08 21:38:03 +01:00
parent 2dbd7abd3a
commit 1f36ca34ae
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
3 changed files with 10 additions and 7 deletions

View File

@ -38,6 +38,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- Really fix bots getting into infinite loops on the login page this time by marking all login pages as `noindex, nofollow` with a robots `<meta />` tag
- Navigating to a redirect page from a page list will no longer cause you to automatically follow the redirect
- Limited sidebar size to 20% of the screen width at most
- Fix the [large blank space problem](https://github.com/sbrl/Pepperminty-Wiki/blob/master/Changelog.md#fixed-3) in all themes
## v0.21
@ -455,7 +456,7 @@ _(No changes since v0.15-beta2)_
- Fixed handling of pages and tags with single quotes in the name
- Fixed weirdness on some pages rendered by the Pepperminty Wiki core
- Fixed a few minor usability issues on the upload file page.
- Removed some extra space at the bottom of some pages.
- Removed some extra at the bottom of some pages.
- The `raw` action now sends a 404 if the request page doesn't exist on the wiki.
### Changed

View File

@ -287,12 +287,14 @@ a.redlink:visited{
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;

View File

@ -134,7 +134,7 @@ textarea, #tags, #search-box {
box-sizing: border-box;
}
.fit-text-mirror { position: absolute; left: -1000000px; }
.fit-text-mirror { position: absolute; top: 0; left: -10000vw; word-wrap: break-word; white-space: pre-wrap; }
.awesomplete { width: 100%; }
textarea, input:not([type=submit]):not([type=button]) {