mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
Fix Guide CSS in TV layout
This commit is contained in:
parent
d8a085d43f
commit
46469e3949
2
dist/better-xcloud.lite.user.js
vendored
2
dist/better-xcloud.lite.user.js
vendored
File diff suppressed because one or more lines are too long
4
dist/better-xcloud.user.js
vendored
4
dist/better-xcloud.user.js
vendored
File diff suppressed because one or more lines are too long
@ -7,11 +7,11 @@
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
html[data-xds-platform=tv] & {
|
||||
body[data-media-type=tv] & {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
html:not([data-xds-platform=tv]) & {
|
||||
body:not([data-media-type=tv]) & {
|
||||
flex-direction: row;
|
||||
|
||||
> button:first-of-type {
|
||||
@ -34,7 +34,7 @@
|
||||
flex-direction: row;
|
||||
gap: 12px;
|
||||
|
||||
html[data-xds-platform=tv] & {
|
||||
body[data-media-type=tv] & {
|
||||
flex-direction: column;
|
||||
|
||||
button {
|
||||
@ -42,7 +42,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
html:not([data-xds-platform=tv]) & {
|
||||
body:not([data-media-type=tv]) & {
|
||||
button {
|
||||
span {
|
||||
display: none;
|
||||
|
@ -97,7 +97,7 @@ export class TrueAchievements {
|
||||
}
|
||||
this.updateIds(xboxTitleId);
|
||||
|
||||
if (document.documentElement.dataset.xdsPlatform === 'tv') {
|
||||
if (document.body.dataset.mediaType === 'tv') {
|
||||
$div.appendChild(this.$link);
|
||||
} else {
|
||||
$div.appendChild(this.$button);
|
||||
|
Loading…
x
Reference in New Issue
Block a user