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:
commit
5dd32123a3
3 changed files with 4 additions and 4 deletions
|
|
@ -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%;
|
||||
|
|
|
|||
|
|
@ -1497,7 +1497,7 @@ defineExpose({
|
|||
max-width: 100%;
|
||||
min-width: 100%;
|
||||
width: 100%;
|
||||
min-height: 90px;
|
||||
min-height: 5.85em;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue