mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-22 07:23:03 +02:00
Update header's style for small screens
This commit is contained in:
parent
b733d55e9e
commit
8ea3503dd3
6
dist/better-xcloud.pretty.user.js
vendored
6
dist/better-xcloud.pretty.user.js
vendored
File diff suppressed because one or more lines are too long
6
dist/better-xcloud.user.js
vendored
6
dist/better-xcloud.user.js
vendored
File diff suppressed because one or more lines are too long
@ -60,8 +60,27 @@ button_color(name, normal, hover, active, disabled)
|
||||
}
|
||||
|
||||
/* Remove the "Cloud Gaming" text in header when the screen is too small */
|
||||
@media screen and (min-width: 641px) and (max-width: 767px) {
|
||||
header button[class^="ExperienceDropdown-module__toggleButton"], header button[class^="XboxButton-module__headerXboxButton"] {
|
||||
margin-right: 10px !important;
|
||||
}
|
||||
|
||||
header button[class^="ExperienceDropdown-module__toggleButton"]{
|
||||
> div{
|
||||
> div {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
> svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
header a[href="/play"] {
|
||||
header button[class^="ExperienceDropdown-module__toggleButton"] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user