Add icon to Better xCloud button

This commit is contained in:
redphx 2024-12-29 15:41:35 +07:00
parent 95f842d9f6
commit 40d1878fb2
4 changed files with 11 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -145,8 +145,9 @@
overflow: hidden;
white-space: nowrap;
// Text with icon
&:not(:only-child) {
margin-left: 10px;
margin-inline-start: 4px;
}
}

View File

@ -41,6 +41,7 @@ export class GuideMenu {
const buttons = {
scriptSettings: createButton({
label: t('better-xcloud'),
icon: BxIcon.BETTER_XCLOUD,
style: ButtonStyle.FULL_WIDTH | ButtonStyle.FOCUSABLE | ButtonStyle.PRIMARY,
onClick: () => {
// Wait until the Guide dialog is closed