Fix: Improved compatibility with older browsers

This hides detail logo on older browsers by default, and fixes the invisible chapter text
This commit is contained in:
lscambo13
2025-07-29 15:08:15 +05:30
parent 0652a3b940
commit fb1ae25bf3

View File

@@ -960,8 +960,16 @@ html {
}
}
.detailLogo {
/* this hides the detail logo by default to make it only show up on modern browsers */
display: none;
}
@supports (aspect-ratio: 1 / 1) {
/* this shows the detail logo on modern browsers */
.detailLogo {
display: block;
top: calc(100vh - 10em - var(--primaryItemPageNegativeSpace));
left: 0;
width: 40%;
@@ -970,6 +978,10 @@ html {
height: 25vh;
background-position: bottom;
}
.layout-tv .detailLogo {
display: block;
}
}
.layout-mobile .detailLogo {
@@ -1007,7 +1019,6 @@ html {
}
.layout-tv .detailLogo {
display: block;
height: 20vh;
top: 40vh;
left: 30vw;
@@ -1716,7 +1727,6 @@ progress+span {
.chapterThumbTextContainer {
background: var(--cardFooterGradient);
text-shadow: .1em .1em 0px black;
width: auto;
width: -webkit-fill-available;
height: -webkit-fill-available;
padding: 0em 2em 2em 2em;
@@ -1730,6 +1740,7 @@ progress+span {
.chapterCardImageContainer+.innerCardFooter {
padding: 0em 1em 1em 1em;
height: auto;
}
.layout-mobile .innerCardFooter {