summaryrefslogtreecommitdiff
path: root/src/styles.ts
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-09-11 10:51:55 -0400
committerGitHub <noreply@github.com>2026-09-11 10:51:55 -0400
commitbc73d150230f92d614962f7384a7430cf64dcd14 (patch)
treeb6ec78ab8663c3da2e0745db8fb98bbb7303e6e2 /src/styles.ts
parent904e2e6131071c3b132d3148947b613c2830b1bb (diff)
parent6597df7865b4eb5fce574d5efda1e33680df4357 (diff)
downloaddecky-lsfg-vk-bc73d150230f92d614962f7384a7430cf64dcd14.tar.gz
decky-lsfg-vk-bc73d150230f92d614962f7384a7430cf64dcd14.zip
Merge pull request #263 from xXJSONDeruloXx/v2-now-playing
flatpak correctness, ui alignment, tests
Diffstat (limited to 'src/styles.ts')
-rw-r--r--src/styles.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/styles.ts b/src/styles.ts
index 1bc089b..58c6b01 100644
--- a/src/styles.ts
+++ b/src/styles.ts
@@ -10,6 +10,10 @@ export const tabStyles = `
padding-right: 8px !important;
}
+ .lsfg-vk-tabs .lsfg-vk-tab-content {
+ padding-bottom: 96px; // workaround for in-game bottom bar padding behaving differently than in launcher, remove later?
+ }
+
.lsfg-vk-tabs [role="tablist"] {
display: flex;
flex-wrap: nowrap;
@@ -31,4 +35,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;
+ }
`;