fix(sass): resolve sass warning by wrapping in root

This commit is contained in:
Gabe Kangas 2024-10-20 12:18:51 -07:00
parent 2e01006126
commit 78a7a45ff0

View file

@ -4,6 +4,12 @@ $p-h-size: 8px;
$p-v-size: 2px;
.root {
border-left: $border-style;
position: relative;
font-size: var(--chat-message-text-size);
padding: $p-v-size $p-h-size;
color: var(--theme-color-components-chat-text);
* {
z-index: 100;
}
@ -14,11 +20,6 @@ $p-v-size: 2px;
margin: initial;
}
border-left: $border-style;
position: relative;
font-size: var(--chat-message-text-size);
padding: $p-v-size $p-h-size;
color: var(--theme-color-components-chat-text);
.user {
display: flex;