mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-23 13:44:32 +01:00
center avatar if banners wrap
This commit is contained in:
parent
66b23ae24f
commit
7e62461097
1 changed files with 6 additions and 0 deletions
|
@ -158,12 +158,18 @@ span.communication__sender__stats,
|
||||||
|
|
||||||
.communication__body__avatar {
|
.communication__body__avatar {
|
||||||
grid-area: 1 / 1 / 2 / 2;
|
grid-area: 1 / 1 / 2 / 2;
|
||||||
|
align-self: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.communication__body__sender {
|
.communication__body__sender {
|
||||||
/* 8px body padding + 2px borders + 12px article padding + 12px avatar margin */
|
/* 8px body padding + 2px borders + 12px article padding + 12px avatar margin */
|
||||||
width: calc(100vw - 34px - var(--reduced-communication-avatar-size));
|
width: calc(100vw - 34px - var(--reduced-communication-avatar-size));
|
||||||
grid-area: 1 / 2 / 2 / 3;
|
grid-area: 1 / 2 / 2 / 3;
|
||||||
|
padding-bottom: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.communication__body__sender > .label--block {
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.communication__body__text {
|
.communication__body__text {
|
||||||
|
|
Loading…
Reference in a new issue