Fix off-center discord icon.

This commit is contained in:
Jas Singh
2024-07-11 00:59:33 -07:00
parent 869e940a4b
commit db118a0746
4 changed files with 10 additions and 1 deletions

View File

@@ -108,6 +108,7 @@ const Shortcuts = () => {
class_name: "dashboard-button discord top-button", class_name: "dashboard-button discord top-button",
on_primary_click: () => handleClick("discord"), on_primary_click: () => handleClick("discord"),
child: Widget.Label({ child: Widget.Label({
hpack: "center",
class_name: "button-label", class_name: "button-label",
label: "", label: "",
}), }),

View File

@@ -104,6 +104,11 @@
color: $base; color: $base;
min-height: 3em; min-height: 3em;
&.discord {
label {
margin-right: 0.15em;
}
}
label { label {
font-size: 1.5em; font-size: 1.5em;

View File

@@ -1470,6 +1470,9 @@ window#powermenu .powermenu.box {
color: #1e1e2e; color: #1e1e2e;
min-height: 3em; min-height: 3em;
} }
.dashboard-content-items .shortcuts-container .container button.discord label {
margin-right: 0.15em;
}
.dashboard-content-items .shortcuts-container .container button label { .dashboard-content-items .shortcuts-container .container button label {
font-size: 1.5em; font-size: 1.5em;
} }

File diff suppressed because one or more lines are too long