Fix off-center discord icon.
This commit is contained in:
@@ -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: "",
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
Reference in New Issue
Block a user