Skip to content

A platform for community discussion. Free, open, simple.

UX: Make template fields fill the container width (#22334)

Keegan Georgec3fa85c4500f
diff --git a/app/assets/stylesheets/common/components/form-template-field.scss b/app/assets/stylesheets/common/components/form-template-field.scss
index 37350e96e68..da7cc821ac6 100644
--- a/app/assets/stylesheets/common/components/form-template-field.scss
+++ b/app/assets/stylesheets/common/components/form-template-field.scss
@@ -1,4 +1,10 @@
.form-template-field {
+ input,
+ textarea,
+ select {
+ width: 100%;
+ }
+
// TODO(@keegan): Remove after updating dropdown/multi-select to use select-kit
&__dropdown {
border: 1px solid var(--primary-medium);
@@ -51,4 +57,8 @@
margin-right: 0.5rem;
}
}
+
+ &__textarea {
+ min-height: 100px;
+ }
}