Skip to content

Commit 171e14c

Browse files
committed
fix: set min width to the template textare to keep it consistent to other input fields
1 parent ddc95e3 commit 171e14c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/styles/Extn-CustomSnippets.less

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@
545545
textarea {
546546
min-height: 80px;
547547
max-height: 120px;
548+
min-width: 156px;
548549
resize: none;
549550
line-height: 1.4;
550551
white-space: pre-wrap;
@@ -701,6 +702,7 @@
701702
textarea {
702703
min-height: 80px;
703704
max-height: 120px;
705+
min-width: 156px;
704706
resize: none;
705707
line-height: 1.4;
706708
white-space: pre-wrap;
@@ -779,6 +781,15 @@
779781
min-width: auto;
780782
}
781783
}
784+
785+
#custom-snippets-add-new,
786+
#custom-snippets-edit {
787+
.field-wrapper {
788+
textarea {
789+
min-width: auto;
790+
}
791+
}
792+
}
782793
}
783794

784795
#custom-snippets-add-new,

0 commit comments

Comments
 (0)