using the half-shit approach since proper approach is full-shit

This commit is contained in:
Henry Jameson 2022-09-20 00:24:08 +03:00
commit fa1d9f3fb4
3 changed files with 19 additions and 15 deletions

View file

@ -35,6 +35,12 @@
margin-top: calc(-1 * var(--__top-fringe));
margin-bottom: calc(-1 * var(--__bottom-fringe));
margin-right: calc(-1 * var(--__right-fringe));
&.-noImage {
.text {
padding-right: var(--__right-fringe);
}
}
}
.panel-body {
@ -75,9 +81,9 @@
.extra-info-group {
transition: max-height, padding, height;
transition-timing-function: ease-in-out;
transition-duration: 500ms;
max-height: calc(var(--____extraInfoGroupHeight) + 1em); // include bottom padding
transition-timing-function: ease-in;
transition-duration: 700ms;
max-height: 70vh;
mask:
linear-gradient(to top, white, transparent) bottom/100% 2px no-repeat,
linear-gradient(to top, white, white);