mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:25:35 +08:00
UX: Fix chat separator alignment (#20669)
Also: work around 1px svg shift in scroll-to-bottom button
This commit is contained in:
parent
aeab38aff1
commit
38fdd842f5
|
@ -384,6 +384,7 @@ $float-height: 530px;
|
|||
|
||||
.d-icon {
|
||||
color: var(--secondary);
|
||||
margin-left: 1px; // "fixes" the 1px svg shift
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -56,7 +56,9 @@
|
|||
}
|
||||
|
||||
.chat-message-separator__text-container {
|
||||
padding-top: 7px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
height: 40px;
|
||||
position: sticky;
|
||||
top: -1px;
|
||||
|
||||
|
@ -98,11 +100,7 @@
|
|||
|
||||
.chat-message-separator__line {
|
||||
border-top: 1px solid var(--secondary-high);
|
||||
left: 0;
|
||||
margin: 0 0 -1px;
|
||||
position: relative;
|
||||
right: 0;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user