diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-11 09:09:29 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-11 09:09:29 -0400 |
| commit | 18af8d1de5c7d12af674018ce819cc91480cf51a (patch) | |
| tree | e36fdc2bf5c8584999e92d326ec507d4b1c0259a /src/styles.ts | |
| parent | d2bfdafa92f3d31cc5392bf8a5a1f1df5c2358ce (diff) | |
| download | decky-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.ts | 13 |
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; + } `; |
