From c637804cafa54eb39283d6a36a80168110165182 Mon Sep 17 00:00:00 2001 From: lemonslut Date: Wed, 28 May 2025 23:34:53 -0600 Subject: [PATCH] fix selector for top nav get bits button currently, the Get Bits button is still shown when unchecking 'Display Bits' under Chat > Bits and Cheering >> Appearance. it looks like aria attributes changed & it no longer has `data-test-selector`. updated to use `data-a-target="top-nav-get-bits-button"` note: i couldn't get the 'Show the Get Bits button.' option under Apperance > Layout >> Top Navigation to work independently of the option under Chat > Bits and Cheering. not sure what's up with that. --- .../twitch-twilight/modules/css_tweaks/styles/hide-bits.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sites/twitch-twilight/modules/css_tweaks/styles/hide-bits.scss b/src/sites/twitch-twilight/modules/css_tweaks/styles/hide-bits.scss index 2519e05a..7a701a99 100644 --- a/src/sites/twitch-twilight/modules/css_tweaks/styles/hide-bits.scss +++ b/src/sites/twitch-twilight/modules/css_tweaks/styles/hide-bits.scss @@ -1,7 +1,7 @@ .get-bits-button, .gem-notif-icon, .chat-input button[data-a-target="bits-button"], -button[data-test-selector="get-bits-button__top-nav-button"], +button[data-a-target="top-nav-get-bits-button"], .channel-header__right > .tw-mg-l-1 > div > div > button:not([data-a-target]) { display: none !important; -} \ No newline at end of file +}