mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
Add icon to Better xCloud button
This commit is contained in:
parent
95f842d9f6
commit
40d1878fb2
7
dist/better-xcloud.lite.user.js
vendored
7
dist/better-xcloud.lite.user.js
vendored
File diff suppressed because one or more lines are too long
7
dist/better-xcloud.user.js
vendored
7
dist/better-xcloud.user.js
vendored
File diff suppressed because one or more lines are too long
@ -145,8 +145,9 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
|
// Text with icon
|
||||||
&:not(:only-child) {
|
&:not(:only-child) {
|
||||||
margin-left: 10px;
|
margin-inline-start: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,6 +41,7 @@ export class GuideMenu {
|
|||||||
const buttons = {
|
const buttons = {
|
||||||
scriptSettings: createButton({
|
scriptSettings: createButton({
|
||||||
label: t('better-xcloud'),
|
label: t('better-xcloud'),
|
||||||
|
icon: BxIcon.BETTER_XCLOUD,
|
||||||
style: ButtonStyle.FULL_WIDTH | ButtonStyle.FOCUSABLE | ButtonStyle.PRIMARY,
|
style: ButtonStyle.FULL_WIDTH | ButtonStyle.FOCUSABLE | ButtonStyle.PRIMARY,
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
// Wait until the Guide dialog is closed
|
// Wait until the Guide dialog is closed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user