mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/timeline: revert vertical padding changes in messages
This commit is contained in:
parent
8ee34be466
commit
8052c29955
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
div.timeline-event {
|
||||
width: calc(100% - 2 * 1.6rem);
|
||||
max-width: calc(100% - 2 * 1.6rem);
|
||||
padding: calc(var(--timeline-message-gap)/2) 1.6rem;
|
||||
padding: 0 1.6rem;
|
||||
display: grid;
|
||||
grid-template:
|
||||
"cmc cmc cmc cmc" 0
|
||||
|
@ -9,6 +9,7 @@ div.timeline-event {
|
|||
"avatar gap content status" auto
|
||||
/ var(--timeline-avatar-size) var(--timeline-avatar-gap) 1fr 2rem;
|
||||
contain: layout;
|
||||
margin-top: var(--timeline-message-gap);
|
||||
|
||||
&.highlight {
|
||||
background-color: var(--timeline-highlight-bg-color);
|
||||
|
@ -120,7 +121,7 @@ div.timeline-event {
|
|||
"cmc cmc cmc" 0
|
||||
"timestamp content status" auto
|
||||
/ var(--timeline-avatar-total-size) 1fr 2rem;
|
||||
padding-top: calc(var(--timeline-message-gap-same-sender)/2);
|
||||
margin-top: var(--timeline-message-gap-same-sender);
|
||||
|
||||
> div.sender-avatar, > div.event-sender-and-time {
|
||||
display: none;
|
||||
|
|
Loading…
Add table
Reference in a new issue