mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Properly center align New Snapshot button
This commit is contained in:
@@ -18,22 +18,20 @@ template $SnapshotsWindow: Adw.Window {
|
||||
|
||||
[bottom]
|
||||
ActionBar action_bar {
|
||||
Box {
|
||||
[center]
|
||||
Button new_snapshot {
|
||||
halign: center;
|
||||
hexpand: true;
|
||||
Button new_snapshot {
|
||||
sensitive: bind action_bar.revealed;
|
||||
margin-top: 6;
|
||||
margin-bottom: 6;
|
||||
styles[
|
||||
"pill",
|
||||
"suggested-action"
|
||||
]
|
||||
sensitive: bind action_bar.revealed;
|
||||
margin-top: 6;
|
||||
margin-bottom: 6;
|
||||
styles[
|
||||
"pill",
|
||||
"suggested-action"
|
||||
]
|
||||
|
||||
Adw.ButtonContent {
|
||||
label: _("New Snapshot");
|
||||
icon-name: "plus-large-symbolic";
|
||||
}
|
||||
Adw.ButtonContent {
|
||||
label: _("New Snapshot");
|
||||
icon-name: "plus-large-symbolic";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user