small fix: chat-input

This commit is contained in:
duckietm 2024-03-25 16:26:31 +01:00 committed by GitHub
parent 10b0591e0b
commit 47c8455b95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,6 @@
width: -webkit-fill-available; width: -webkit-fill-available;
@include media-breakpoint-down(xxl) { @include media-breakpoint-down(xxl) {
display: flex;
position: absolute; position: absolute;
bottom: 70px; bottom: 70px;
left: 50%; left: 50%;
@ -25,7 +24,7 @@
content: ''; content: '';
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 5px; height: 2px;
top: 1px; top: 1px;
left: 0; left: 0;
right: 0; right: 0;
@ -35,11 +34,10 @@
} }
.input-sizer { .input-sizer {
display: flex; display: inline-grid;
vertical-align: top; vertical-align: top;
height: 100%; height: 100%;
padding: 0 10px; padding: 0 10px;
width: 100%;
&::after, &::after,
input, input,
@ -55,6 +53,12 @@
outline: none; outline: none;
} }
&::after {
content: attr(data-value) ' ';
visibility: hidden;
white-space: pre-wrap;
}
} }
.colour-container { .colour-container {