gdm: clean up spacing
There's a lot of dead vertical space right now from the session list, even if there are no sessions. This commit mops that up. https://bugzilla.gnome.org/show_bug.cgi?id=661479
This commit is contained in:
parent
8529ca70af
commit
d0edd970e1
@ -99,7 +99,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login-dialog-prompt-layout {
|
.login-dialog-prompt-layout {
|
||||||
padding-bottom: 64px;
|
padding-bottom: 32px;
|
||||||
}
|
}
|
||||||
.login-dialog-prompt-label {
|
.login-dialog-prompt-label {
|
||||||
color: white;
|
color: white;
|
||||||
|
@ -694,10 +694,13 @@ SessionList.prototype = {
|
|||||||
let ids = GdmGreeter.get_session_ids();
|
let ids = GdmGreeter.get_session_ids();
|
||||||
ids.sort();
|
ids.sort();
|
||||||
|
|
||||||
if (ids.length <= 1)
|
if (ids.length <= 1) {
|
||||||
this._box.hide();
|
this._box.hide();
|
||||||
else
|
this._button.hide();
|
||||||
|
} else {
|
||||||
|
this._button.show();
|
||||||
this._box.show();
|
this._box.show();
|
||||||
|
}
|
||||||
|
|
||||||
for (let i = 0; i < ids.length; i++) {
|
for (let i = 0; i < ids.length; i++) {
|
||||||
let [sessionName, sessionDescription] = GdmGreeter.get_session_name_and_description(ids[i]);
|
let [sessionName, sessionDescription] = GdmGreeter.get_session_name_and_description(ids[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user