summaryrefslogtreecommitdiff
path: root/src/styles.ts
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-11 09:09:29 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-11 09:09:29 -0400
commit18af8d1de5c7d12af674018ce819cc91480cf51a (patch)
treee36fdc2bf5c8584999e92d326ec507d4b1c0259a /src/styles.ts
parentd2bfdafa92f3d31cc5392bf8a5a1f1df5c2358ce (diff)
downloaddecky-lsfg-vk-18af8d1de5c7d12af674018ce819cc91480cf51a.tar.gz
decky-lsfg-vk-18af8d1de5c7d12af674018ce819cc91480cf51a.zip
fix tab change jutter
Diffstat (limited to 'src/styles.ts')
-rw-r--r--src/styles.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/styles.ts b/src/styles.ts
index 1bc089b..d197451 100644
--- a/src/styles.ts
+++ b/src/styles.ts
@@ -31,4 +31,17 @@ export const tabStyles = `
display: block;
margin: 0;
}
+
+ .lsfg-vk-tabs--content-focused [role="tablist"][aria-orientation="horizontal"],
+ .lsfg-vk-tabs--content-focused [role="tablist"][aria-orientation="horizontal"] > div,
+ .lsfg-vk-tabs--content-focused [role="tablist"][aria-orientation="horizontal"] > div > div,
+ .lsfg-vk-tabs--content-focused [role="tablist"][aria-orientation="horizontal"] [role="tab"] {
+ animation: none !important;
+ transition: none !important;
+ }
+
+ .lsfg-vk-tabs--content-focused [role="tablist"][aria-orientation="horizontal"] > div > div {
+ scroll-behavior: auto !important;
+ scroll-snap-type: none !important;
+ }
`;