(styles,wiki) article height fit content

This commit is contained in:
Maciej Jur 2023-06-10 09:33:24 +02:00
parent 158d471be7
commit 179d5788ec

View file

@ -79,14 +79,15 @@ $bp-l: 80rem;
padding: 1em;
padding-top: 2em;
background-color: white;
box-shadow: var(--shadow-l);
transition: margin ease-in-out 0.2s, padding ease-in-out 0.2s;
@media (min-width: $bp-m) {
max-width: min(100%, 50em);
height: fit-content;
margin-block: 1em;
padding-top: 1em;
border-radius: 0.5em;
box-shadow: var(--shadow-l);
}
@media (min-width: $bp-l) {