Fix off-center discord icon.
This commit is contained in:
@@ -108,6 +108,7 @@ const Shortcuts = () => {
|
||||
class_name: "dashboard-button discord top-button",
|
||||
on_primary_click: () => handleClick("discord"),
|
||||
child: Widget.Label({
|
||||
hpack: "center",
|
||||
class_name: "button-label",
|
||||
label: "",
|
||||
}),
|
||||
|
||||
@@ -104,6 +104,11 @@
|
||||
color: $base;
|
||||
min-height: 3em;
|
||||
|
||||
&.discord {
|
||||
label {
|
||||
margin-right: 0.15em;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 1.5em;
|
||||
|
||||
@@ -1470,6 +1470,9 @@ window#powermenu .powermenu.box {
|
||||
color: #1e1e2e;
|
||||
min-height: 3em;
|
||||
}
|
||||
.dashboard-content-items .shortcuts-container .container button.discord label {
|
||||
margin-right: 0.15em;
|
||||
}
|
||||
.dashboard-content-items .shortcuts-container .container button label {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user