Skip to content

Commit

Permalink
UX: Align chat separators, increase mobile chat width (discourse#22298)
Browse files Browse the repository at this point in the history
  • Loading branch information
CvX authored Jun 27, 2023
1 parent 71ff38b commit a6bd399
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
&-new {
display: flex;
justify-content: center;
padding: 20px 0 20px 1em;
padding: 20px 0 20px var(--scrollbarWidth);
position: relative;

.chat-message-separator__text-container {
Expand Down Expand Up @@ -44,7 +44,7 @@
display: flex;
align-items: flex-start;
justify-content: center;
padding-left: 1rem;
padding-left: var(--scrollbarWidth);
pointer-events: none;

&.with-last-visit {
Expand Down Expand Up @@ -125,7 +125,7 @@
}

& + .chat-message-separator__line-container {
padding: 20px 0;
padding: 20px 0 20px var(--scrollbarWidth);
box-sizing: border-box;

.chat-message-separator__line {
Expand Down
2 changes: 1 addition & 1 deletion plugins/chat/assets/stylesheets/mobile/chat-channel.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.chat-channel {
.chat-messages-scroll {
padding: 0 10px 10px 10px;
padding-bottom: 5px;
}
}

0 comments on commit a6bd399

Please sign in to comment.