mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-03 06:07:19 +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;
|
||||
white-space: nowrap;
|
||||
|
||||
// Text with icon
|
||||
&:not(:only-child) {
|
||||
margin-left: 10px;
|
||||
margin-inline-start: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user