From c50753c07e39eb5ab30bb12750d21e1c91358c9e Mon Sep 17 00:00:00 2001 From: Benjamin Drieu Date: Thu, 2 Dec 2021 00:28:51 +0100 Subject: [PATCH] Vertical align, at last :-) --- extension.js | 3 ++- stylesheet.css | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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 {