polkitAgent: Drop separate user icon style
It should use the same style as used elsewhere (like the lock screen), so stop using a separate style class to pick up the defaults. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3252
This commit is contained in:
parent
5ece14e558
commit
9d5165b1aa
@ -135,10 +135,6 @@
|
||||
spacing: 8px;
|
||||
margin-bottom: 6px;
|
||||
|
||||
.polkit-dialog-user-icon {
|
||||
border-radius: 99px;
|
||||
background-size: contain;
|
||||
}
|
||||
.polkit-dialog-user-root-label { color: $warning_color; }
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,6 @@ var AuthenticationDialog = GObject.registerClass({
|
||||
|
||||
this._userAvatar = new UserWidget.Avatar(this._user, {
|
||||
iconSize: DIALOG_ICON_SIZE,
|
||||
styleClass: 'polkit-dialog-user-icon',
|
||||
});
|
||||
this._userAvatar.x_align = Clutter.ActorAlign.CENTER;
|
||||
userBox.add_child(this._userAvatar);
|
||||
|
Loading…
Reference in New Issue
Block a user