Skip to content

Commit

Permalink
Better responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Dunn committed Nov 6, 2023
1 parent ba16c69 commit 1f5e5d8
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion css/barrel.css
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@ header>*:only-child>:only-child {
margin: 0px;
}

header :is(h1, h2, h3, h4) {
padding-inline-start: var(--padding);
}

header>:is(h1, h2, h3, h4):has(button) {
padding: 0px;
}
Expand Down Expand Up @@ -538,7 +542,7 @@ table tr:first-child td {
margin-bottom: 0.2em;
min-width: min-content;
box-sizing: border-box;
max-width: 99%;
max-width: 100vw;
overflow: auto;
border-radius: var(--border-radius);
border-color: var(--border-color);
Expand Down Expand Up @@ -771,8 +775,19 @@ table tr:first-child td {

.scroll {
overflow: auto;

}

/*This user added margin is likely unwanted on tiny screens*/
@media screen and (max-width: 860px) {
.scroll {
/*Scroll boxes should never be full screen, or else you woul
Have nowhere outside it to grab and scroll the whole page*/
max-height: 60vw;
}
}


.max-h-1rem {
max-height: 1rem;
}
Expand Down Expand Up @@ -986,6 +1001,14 @@ footer.padding {
margin: 0px;
}

/*This user added margin is likely unwanted on tiny screens where*/
@media screen and (max-width: 500px) {
.window {
margin-left: 0px;
margin-right: 0px;
}
}

.block {
display: block;
}
Expand Down

0 comments on commit 1f5e5d8

Please sign in to comment.