]> BookStack Code Mirror - bookstack/commitdiff
Fixed some inputs affected by height changes
authorDan Brown <redacted>
Tue, 17 May 2022 12:37:43 +0000 (13:37 +0100)
committerDan Brown <redacted>
Tue, 17 May 2022 12:37:43 +0000 (13:37 +0100)
resources/sass/_forms.scss

index f639709fc142bde94ae2738b6d7766399bd27bf7..73799f0a03eaba71a5ad062e80b4a4c7a295c69f 100644 (file)
@@ -351,16 +351,13 @@ input[type=color] {
   }
 }
 
-.inline-input-style {
+.title-input input[type="text"] {
   display: block;
   width: 100%;
   padding: $-s;
-}
-
-.title-input input[type="text"] {
-  @extend .inline-input-style;
   margin-top: 0;
   font-size: 2em;
+  height: auto;
 }
 
 .title-input.page-title {
@@ -385,10 +382,12 @@ input[type=color] {
 }
 
 .description-input textarea {
-  @extend .inline-input-style;
+  display: block;
+  width: 100%;
+  padding: $-s;
   font-size: $fs-m;
   color: #666;
-  width: 100%;
+  height: auto;
 }
 
 div[editor-type="markdown"] .title-input.page-title input[type="text"] {