RELEASE: ElegantFin v25.08.02

This commit is contained in:
lscambo13
2025-08-02 07:41:10 -07:00
parent 827ec46f3c
commit f6df908723
2 changed files with 16 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@@ -130,7 +130,7 @@ html {
} }
.layout-mobile { .layout-mobile {
--itemColumnGap: 0em; --itemColumnGap: 0;
--sidePadding: 5%; --sidePadding: 5%;
} }
@@ -748,9 +748,21 @@ html {
} }
.card { .card {
--effectiveWidth: calc((99vw - (var(--sidePadding) * 2)));
--cardWidth: calc(var(--effectiveWidth) / var(--cardCount) - var(--itemColumnGap));
box-sizing: border-box; box-sizing: border-box;
width: var(--cardWidth) !important; width: var(--cardWidth) !important;
--cardWidth: calc((99vw - (var(--sidePadding) * 2)) / var(--cardCount) - var(--itemColumnGap)); }
.layout-mobile .card {
--cardWidth: calc(var(--effectiveWidth) / var(--cardCount));
}
/* this makes the card sizes smaller when phone is in landscape mode */
@media (orientation: landscape) and (max-height: 40em) {
.layout-mobile .card {
--effectiveWidth: calc((65vw - (var(--sidePadding) * 2)));
}
} }
.detailPageWrapperContainer { .detailPageWrapperContainer {
@@ -1199,13 +1211,6 @@ html {
} }
} }
/* this makes the card sizes smaller when phone is in landscape mode */
@media (orientation: landscape) and (max-height: 40em) {
.layout-mobile .card {
--cardWidth: calc((65vw - (var(--sidePadding) * 2)) / var(--cardCount) - var(--itemColumnGap));
}
}
h2 { h2 {
font-size: 1.25em; font-size: 1.25em;
} }