Vertical align, at last :-)

This commit is contained in:
Benjamin Drieu 2021-12-02 00:28:51 +01:00 committed by Benjamin Drieu
parent 4b5881ffae
commit 5a4ebbf486
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,8 @@ class Indicator extends PanelMenu.Button {
box.add_child(serverBox);
let name_box = new St.BoxLayout( { style_class: 'monito-namebox' } );
this.namesBoxes [ this.server ] = new St.Label ( { text: this.account_settings.get_string ( 'name' ) } );
this.namesBoxes [ this.server ] = new St.Label ( { text: this.account_settings.get_string ( 'name' ),
y_align: Clutter.ActorAlign.CENTER, } );
name_box.add_child ( this.namesBoxes [ this.server ] );
serverBox.add_child(name_box);
this.account_settings.bind ( 'name', this.namesBoxes [ this.server ], 'text', Gio.SettingsBindFlags.GET );

View File

@ -44,7 +44,6 @@
.monito-namebox {
margin-right: .5em;
vertical-align: middle;
}
.monito-critical-box, .monito-service-CRITICAL, .monito-service-line-CRITICAL {