Fix typing notification margin
The margin of the typing_label was not exactly aligned with the text, we have the padding left of the list (18/6) plus the size of the avatar (40) plus double of the padding of the row (9 * 2). With the handy column the list left padding changes from 18 to 6 so we need to control that case and change the margin according to that. Fix https://gitlab.gnome.org/GNOME/fractal/issues/492
This commit is contained in:
parent
114fc20c1d
commit
daf36388ad
1 changed files with 8 additions and 1 deletions
|
@ -295,11 +295,18 @@ stack.titlebar:not(headerbar) > box > separator {
|
|||
|
||||
.typing_label {
|
||||
margin: 6px;
|
||||
margin-left: 78px;
|
||||
/** list-padding-left + avatar-size + row-padding * 2 **/
|
||||
/** 18 + 40 + 18 **/
|
||||
margin-left: 76px;
|
||||
margin-bottom: 8px;
|
||||
color: @theme_selected_bg_color;
|
||||
}
|
||||
|
||||
.folded-history .typing_label {
|
||||
/** list-padding-left + avatar-size + row-padding * 2 **/
|
||||
/** 6 + 40 + 18 **/
|
||||
margin-left: 64px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
border-radius: 5px;
|
||||
|
|
Loading…
Reference in a new issue