UX: Improve border-radius stuff in chat-message actions (#25129)

This commit is contained in:
Jarek Radosz 2024-01-04 12:33:07 +01:00 committed by GitHub
parent 7b81c39a8b
commit b43bba7dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -3,12 +3,6 @@
z-index: z("dropdown");
}
.chat-message-actions {
.chat-message-reaction {
@include chat-reaction;
}
}
.chat-message-actions-container {
@include unselectable;
z-index: z("dropdown") - 1;
@ -16,6 +10,7 @@
.chat-message-actions {
background-color: var(--secondary);
border-radius: var(--d-border-radius);
display: flex;
.emoji-picker-anchor {
@ -138,6 +133,8 @@
}
.chat-message-reaction {
@include chat-reaction;
align-items: center;
border-radius: 0;
border-left-color: transparent;

View File

@ -8,6 +8,12 @@
border-radius: 0;
border-top-color: var(--primary-300);
&:first-child {
border-left-color: var(--primary-300);
border-top-left-radius: var(--d-border-radius);
border-bottom-left-radius: var(--d-border-radius);
}
&:hover {
background: var(--primary-low);
border-color: var(--primary-low-mid);