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:
parent
aba3336b51
commit
b4cf07d05f
@ -1,5 +1,7 @@
|
|||||||
/* Date/Time Menu */
|
/* Date/Time Menu */
|
||||||
|
|
||||||
|
.clock-display-box { spacing: $base_spacing; }
|
||||||
|
|
||||||
// overall menu
|
// overall menu
|
||||||
#calendarArea {
|
#calendarArea {
|
||||||
padding:0;
|
padding:0;
|
||||||
|
@ -557,7 +557,7 @@ class DateMenuButton extends PanelMenu.Button {
|
|||||||
this._clockDisplay = new St.Label({ y_align: Clutter.ActorAlign.CENTER });
|
this._clockDisplay = new St.Label({ y_align: Clutter.ActorAlign.CENTER });
|
||||||
this._indicator = new MessagesIndicator();
|
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(new IndicatorPad(this._indicator));
|
||||||
box.add_actor(this._clockDisplay);
|
box.add_actor(this._clockDisplay);
|
||||||
box.add_actor(this._indicator);
|
box.add_actor(this._indicator);
|
||||||
|
Loading…
Reference in New Issue
Block a user