diff --git a/core/themes/seven/style.css b/core/themes/seven/style.css
index 8741599c037f1095af431e5b9c7208a6be123bfd..d6486c744207ed4c3a9aa16fd548f5abbd936a2f 100644
--- a/core/themes/seven/style.css
+++ b/core/themes/seven/style.css
@@ -771,6 +771,9 @@ select.form-select:focus {
       box-sizing: border-box;
       width: 100%;
   }
+  input.form-number {
+    width: auto;
+  }
   input.form-autocomplete,
   input.form-text,
   input.form-tel,