diff --git a/extension.js b/extension.js index fd24644..386375d 100644 --- a/extension.js +++ b/extension.js @@ -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 ); diff --git a/stylesheet.css b/stylesheet.css index 1c7804c..fd7d475 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -44,7 +44,6 @@ .monito-namebox { margin-right: .5em; - vertical-align: middle; } .monito-critical-box, .monito-service-CRITICAL, .monito-service-line-CRITICAL {