Remove the "Cloud Gaming" text in header

This commit is contained in:
redphx 2024-04-11 17:12:29 +07:00
parent 8286429cc3
commit 71b4109385

View File

@ -8587,6 +8587,11 @@ div[class^=HUDButton-module__hiddenContainer] ~ div:not([class^=HUDButton-module
left: -9999px; left: -9999px;
} }
/* Remove the "Cloud Gaming" text in header */
header a[href="/play"] {
display: none;
}
a.bx-button { a.bx-button {
display: inline-block; display: inline-block;
} }
@ -8677,20 +8682,16 @@ a.bx-button.bx-full-width {
text-align: center; text-align: center;
} }
.bx-remote-play-button { .bx-header-remote-play-button {
height: auto; height: auto;
margin-right: 8px !important; margin-right: 8px !important;
} }
.bx-remote-play-button svg { .bx-header-remote-play-button svg {
width: 28px; width: 24px;
height: 46px; height: 46px;
} }
.bx-remote-play-button[disabled] {
opacity: 0.5;
}
.bx-header-settings-button { .bx-header-settings-button {
line-height: 30px; line-height: 30px;
font-size: 14px; font-size: 14px;
@ -10810,7 +10811,7 @@ function injectSettingsButton($parent) {
// Remote Play button // Remote Play button
if (getPref(Preferences.REMOTE_PLAY_ENABLED)) { if (getPref(Preferences.REMOTE_PLAY_ENABLED)) {
const $remotePlayBtn = createButton({ const $remotePlayBtn = createButton({
classes: ['bx-remote-play-button'], classes: ['bx-header-remote-play-button'],
icon: Icon.REMOTE_PLAY, icon: Icon.REMOTE_PLAY,
title: t('remote-play'), title: t('remote-play'),
style: ButtonStyle.GHOST | ButtonStyle.FOCUSABLE, style: ButtonStyle.GHOST | ButtonStyle.FOCUSABLE,