1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00
phorge-phorge/webroot/rsrc/css/phui/object-item/phui-oi-simple-ui.css
Andre Klapper 682fe971a4 Do not crop user avatar image in top bar when no Real Name set
Summary:
Increase required height for avatar image

Patch provided by Stang in https://phabricator.wikimedia.org/T307492

Closes T15552

Test Plan:
* Set `/config/edit/user.require-real-name/` to `Make real names optional`
* Log in as a user without a real name set
* Open the user menu in the top bar and look at the user avatar image

Reviewers: O1 Blessed Committers, Cigaryno, avivey

Reviewed By: O1 Blessed Committers, Cigaryno, avivey

Subscribers: avivey, speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15552

Differential Revision: https://we.phorge.it/D25348
2023-07-17 12:03:23 +02:00

43 lines
733 B
CSS

/**
* @provides phui-oi-simple-ui-css
* @requires phui-oi-list-view-css
*/
.phui-oi-list-simple .phui-oi-with-image .phui-oi-frame {
min-height: 36px;
}
.phui-oi-list-simple .phui-oi-image {
height: 26px;
width: 26px;
margin: 0;
}
.phui-oi-list-simple .phui-oi-with-image
.phui-oi-content-box {
margin-left: 32px;
}
.phui-oi-list-simple .phui-oi-name {
padding: 2px 0;
}
.phui-oi-list-simple .phui-oi-name a {
color: {$darkbluetext};
}
.phui-oi-list-view.phui-oi-list-simple .phui-oi-frame {
border: none;
margin-bottom: 4px;
}
.phui-oi-list-view.phui-oi-list-simple li:last-child
.phui-oi-frame {
margin: 0;
}
.phui-oi-list-simple .phui-oi-actions {
top: 2px;
bottom: 2px;
right: 2px;
}