Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hide leaderboard #927

Merged
merged 9 commits into from
Feb 17, 2024
1 change: 1 addition & 0 deletions CHANGELOG-nightly.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- Fixed emote tile width in emote menu
- Fixed "hidden subscription status" message in the User Card
- Fixed extraneous emote menu blank space when "Live Input Search" was enabled
- Fixed an issue where leaderboard would not hide when "Hide leaderboard" was enabled
- Fixed an issue with deleting messages using mod icons
- Fixed an issue where the extension menu displayed incorrectly in Chromium-based browsers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,6 @@ export const config = [
</script>

<style lang="scss">
.seventv-hide-leaderboard {
div[data-test-selector="channel-leaderboard-container"] {
display: none !important;
}
}

.seventv-hide-buttons-below-chatbox {
div[data-test-selector="chat-input-buttons-container"] {
display: none !important;
Expand All @@ -179,6 +173,12 @@ export const config = [
}
}

.seventv-hide-leaderboard {
section[data-test-selector="chat-room-component-layout"] > div:first-child > div:first-child {
display: none !important;
}
}

.seventv-hide-bits-buttons {
button[data-a-target="bits-button"],
button[data-a-target="top-nav-get-bits-button"] {
Expand Down
Loading