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