mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 02:26:38 -06:00
fix: prevent duplicate view-transition-name error
This commit is contained in:
+4
-3
@@ -104,12 +104,13 @@ html.dark {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Give scrollbars unique view-transition-names so they persist through page transitions */
|
/* Give body scrollbars unique view-transition-names so they persist through page transitions */
|
||||||
.os-scrollbar-horizontal {
|
/* Use child combinator to exclude nested OverlayScrollbarsComponent instances (e.g., /pgp page) */
|
||||||
|
body > .os-scrollbar-horizontal {
|
||||||
view-transition-name: scrollbar-h;
|
view-transition-name: scrollbar-h;
|
||||||
}
|
}
|
||||||
|
|
||||||
.os-scrollbar-vertical {
|
body > .os-scrollbar-vertical {
|
||||||
view-transition-name: scrollbar-v;
|
view-transition-name: scrollbar-v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user