Fix scrolling

This commit is contained in:
ReimarPB 2022-09-27 18:10:15 +02:00
parent a39ca7b430
commit f65b34de4d
4 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,7 @@
/* Default colors */ /* Default colors */
:root {
color-scheme: dark;
}
* { * {
color: #EEE; color: #EEE;
scrollbar-color: #424242 #212121; scrollbar-color: #424242 #212121;

View File

@ -1,4 +1,7 @@
/* Default colors */ /* Default colors */
:root {
color-scheme: light;
}
* { * {
color: #212121; color: #212121;
scrollbar-color: #BDBDBD #EEE; scrollbar-color: #BDBDBD #EEE;

View File

@ -1,3 +1,6 @@
html {
overflow-y: scroll;
}
body { body {
margin: 0; margin: 0;
overflow-x: hidden; overflow-x: hidden;
@ -84,7 +87,6 @@ a:hover {
width: 100px; width: 100px;
} }
#sidebar .container { #sidebar .container {
padding: 10px;
text-align: left; text-align: left;
line-height: 1.5; line-height: 1.5;
} }
@ -103,7 +105,7 @@ a:hover {
vertical-align: top; vertical-align: top;
width: 820px; width: 820px;
max-width: 100%; max-width: 100%;
padding: 0 10px 20px 10px; padding: 0 10px;
box-sizing: border-box; box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;

View File

@ -1,7 +1,7 @@
<div id="sidebar-wrapper" class="inline-block"> <div id="sidebar-wrapper" class="inline-block">
<div id="sidebar" class="inline-block"> <div id="sidebar" class="inline-block">
<aside> <aside>
<div class="container" style="font-size: 14px;"> <div class="section container" style="font-size: 14px;">
<h2>Theme</h2> <h2>Theme</h2>
<?php <?php
// List of themes and a condition to test if it's deselected (!) // List of themes and a condition to test if it's deselected (!)