merge: Scale height of multiline text inputs based on font size (!1208)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1208

Closes #1171

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
This commit is contained in:
Hazelnoot 2025-08-10 04:22:07 +00:00
commit 5dd32123a3
3 changed files with 4 additions and 4 deletions

View file

@ -142,7 +142,7 @@ watch(() => props.lang, (to) => {
margin: 0;
border-radius: var(--MI-radius-sm);
border: none;
min-height: 130px;
min-height: 9.29em;
pointer-events: none;
min-width: calc(100% - 24px);
height: 100%;

View file

@ -1497,7 +1497,7 @@ defineExpose({
max-width: 100%;
min-width: 100%;
width: 100%;
min-height: 90px;
min-height: 5.85em;
height: 100%;
}

View file

@ -174,7 +174,7 @@ onUnmounted(() => {
width: 100%;
min-width: 100%;
max-width: 100%;
min-height: 130px;
min-height: 9.29em;
margin: 0;
padding: 12px;
font: inherit;
@ -211,7 +211,7 @@ onUnmounted(() => {
.tall {
> .textarea {
min-height: 200px;
min-height: 14.29em;
}
}