component refactoring
This commit is contained in:
@@ -171,19 +171,28 @@
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
|
||||
// Standard line-clamp (Firefox 122+) — overrides display for supporting browsers
|
||||
display: block;
|
||||
line-clamp: 3;
|
||||
|
||||
transition: max-height $transition-slow ease, opacity $transition-normal;
|
||||
|
||||
&.expanded {
|
||||
-webkit-line-clamp: unset;
|
||||
line-clamp: unset;
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
||||
|
||||
// Standard line-clamp (Firefox 122+) — overrides WebKit for supporting browsers
|
||||
@supports (line-clamp: 3) {
|
||||
.show-description {
|
||||
display: block;
|
||||
-webkit-line-clamp: unset;
|
||||
-webkit-box-orient: unset;
|
||||
line-clamp: 3;
|
||||
|
||||
&.expanded {
|
||||
line-clamp: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ── Meta row (host + genre) ────────────────────────────────
|
||||
|
||||
.show-meta {
|
||||
|
||||
Reference in New Issue
Block a user