From 65ca3dab0e6917ba448d77ce65be66e0dab1e050 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Fri, 12 Apr 2024 05:48:51 +0700 Subject: [PATCH] Only remove the "Cloud Gaming" text when the screen is too small --- better-xcloud.user.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/better-xcloud.user.js b/better-xcloud.user.js index 2e0a6fe..1b762b3 100644 --- a/better-xcloud.user.js +++ b/better-xcloud.user.js @@ -8582,9 +8582,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; +/* Remove the "Cloud Gaming" text in header when the screen is too small */ +@media screen and (max-width: 600px) { + header a[href="/play"] { + display: none; + } } a.bx-button {