dateMenu: Add some spacing between date and indicator

While the existing dot doesn't necessarily need padding, we are about
to (sometimes) showing a "proper" icon there.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/239
This commit is contained in:
Florian Müllner 2020-01-17 17:41:49 +01:00 committed by Florian Müllner
parent aba3336b51
commit b4cf07d05f
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
/* Date/Time Menu */
.clock-display-box { spacing: $base_spacing; }
// overall menu
#calendarArea {
padding:0;
@ -263,4 +265,4 @@
font-feature-settings: "tnum";
@include fontsize($base_font_size - 1);
}
}
}

View File

@ -557,7 +557,7 @@ class DateMenuButton extends PanelMenu.Button {
this._clockDisplay = new St.Label({ y_align: Clutter.ActorAlign.CENTER });
this._indicator = new MessagesIndicator();
let box = new St.BoxLayout();
let box = new St.BoxLayout({ style_class: 'clock-display-box' });
box.add_actor(new IndicatorPad(this._indicator));
box.add_actor(this._clockDisplay);
box.add_actor(this._indicator);