Explorar o código

Merge pull request #10752 from overleaf/jel-input-padding-new-css

[web] Fix placeholder and dropdown text input alignment issue in new CSS

GitOrigin-RevId: b5b8cff38c8aa846e3eb70f8552e9c288b88061e
Jessica Lawshe %!s(int64=3) %!d(string=hai) anos
pai
achega
1cc0d28724
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/frontend/stylesheets/components/forms.less

+ 1 - 1
services/web/frontend/stylesheets/components/forms.less

@@ -156,7 +156,7 @@ output {
   display: block;
   width: 100%;
   height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
-  padding: @input-padding;
+  padding: @padding-base-vertical @input-padding;
   font-size: @font-size-base;
   line-height: @line-height-base;
   color: @input-color;