1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 04:23:01 +00:00

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 - 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 - 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 - 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 ## 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 handling of pages and tags with single quotes in the name
- Fixed weirdness on some pages rendered by the Pepperminty Wiki core - Fixed weirdness on some pages rendered by the Pepperminty Wiki core
- Fixed a few minor usability issues on the upload file page. - 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. - The `raw` action now sends a 404 if the request page doesn't exist on the wiki.
### Changed ### Changed

View file

@ -289,10 +289,12 @@ textarea[name=content]{
} }
.fit-text-mirror { .fit-text-mirror {
position: absolute; position: absolute;
top: 0;
left: -10000vw; left: -10000vw;
word-wrap: break-word; word-wrap: break-word;
white-space: pre-wrap; white-space: pre-wrap;
} }
main label:not(.link-display-label){ main label:not(.link-display-label){
display:inline-block; display:inline-block;
min-width:16rem; min-width:16rem;

View file

@ -134,7 +134,7 @@ textarea, #tags, #search-box {
box-sizing: border-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%; } .awesomplete { width: 100%; }
textarea, input:not([type=submit]):not([type=button]) { textarea, input:not([type=submit]):not([type=button]) {