Scrollbar-Optimierungen und Cookie-Bereinigung
This commit is contained in:
@@ -40,6 +40,11 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
body {
|
||||
background: var(--background);
|
||||
color: var(--text);
|
||||
@@ -47,7 +52,10 @@ body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
}
|
||||
.container {
|
||||
max-width: 480px;
|
||||
@@ -60,6 +68,7 @@ body {
|
||||
border: 1px solid var(--border);
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
.help-button-container {
|
||||
position: absolute;
|
||||
@@ -145,8 +154,9 @@ body {
|
||||
padding: 2em;
|
||||
max-width: 90%;
|
||||
width: 90%;
|
||||
max-height: 90%;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
position: relative;
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
||||
margin: 0 auto;
|
||||
@@ -345,6 +355,7 @@ button:focus, .accordion-header:focus {
|
||||
/* Layout-Shift-Prävention */
|
||||
min-height: 200px;
|
||||
contain: layout style paint;
|
||||
width: 100%;
|
||||
}
|
||||
.accordion-item + .accordion-item {
|
||||
border-top: 1px solid var(--border);
|
||||
@@ -374,6 +385,7 @@ button:focus, .accordion-header:focus {
|
||||
overflow: hidden;
|
||||
transition: max-height 0.3s ease-out, padding 0.3s ease-out;
|
||||
opacity: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.accordion-content.active {
|
||||
display: block;
|
||||
@@ -459,6 +471,7 @@ button:focus, .accordion-header:focus {
|
||||
padding: 1.2em 0.7em 1em 0.7em;
|
||||
width: calc(100% - 2em);
|
||||
max-width: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.3em;
|
||||
@@ -494,8 +507,11 @@ button:focus, .accordion-header:focus {
|
||||
margin: 1em;
|
||||
width: calc(100% - 2em);
|
||||
max-width: none;
|
||||
max-height: 85vh;
|
||||
left: 0;
|
||||
transform: none;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user