1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 13:45:02 +00:00

Fix annoying scrollbar when editing long pages

This commit is contained in:
Starbeamrainbowlabs 2020-07-19 00:05:20 +01:00
parent 0f23ce3fd1
commit f559239e9b
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
3 changed files with 5 additions and 4 deletions

View file

@ -44,6 +44,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- Fixed an issue causing uploaded avatars not to render
- Fixed an obscure bug in the search engine when excluding terms that appear both in a page's title and body
- Squashed a warning at the top of search results (more insight is needed though to squash the inconsistencies in the search index that creep in though)
- Removed annoying scrollbars when editing long pages
## v0.21.1-hotfix1

View file

@ -303,7 +303,7 @@ main label:not(.link-display-label){
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{
input[type=text], input[type=password], input[type=url], input[type=email], input[type=number], textarea, #search-box{
padding:0.5rem 0.8rem;
background:#93CCEF;
border:0;
@ -311,7 +311,7 @@ input[type=text], input[type=password], input[type=url], input[type=email], inpu
font-size:1rem;
color:#1F2A7E;
}
textarea{
textarea, .fit-text-mirror {
min-height:10em;
line-height:1.3em;
font-size:1.25rem;

View file

@ -218,8 +218,8 @@ textarea[name=content] { resize: none; min-height: 75vh; }
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: var(--accent-a4); border: 0; border-radius: 0.3rem; font-size: 1rem; color: var(--text-bright); }
textarea { min-height: 10em; line-height: 1.3em; font-size: 1.25rem; }
input[type=text], input[type=password], input[type=url], input[type=email], input[type=number], textarea, #search-box { padding: 0.5rem 0.8rem; background: var(--accent-a4); border: 0; border-radius: 0.3rem; font-size: 1rem; color: var(--text-bright); }
textarea, .fit-text-mirror { min-height: 10em; line-height: 1.3em; font-size: 1.25rem; }
textarea, textarea[name=content] + pre, textarea ~ input[type=submit], #search-box { width: calc(100% - 0.3rem); box-sizing: border-box; }
textarea ~ input[type=submit] { margin: 0.5rem 0; padding: 0.5rem; font-weight: bolder; }
.editform input[type=text] { width: calc(100% - 0.3rem); box-sizing: border-box; }