diff --git a/src/styles/components/loginForm.less b/src/styles/components/loginForm.less index 2f6ee3a0..a333277e 100644 --- a/src/styles/components/loginForm.less +++ b/src/styles/components/loginForm.less @@ -29,7 +29,7 @@ } } -@media screen and (min-width: @screen-md) { +@media screen and (min-width: @screen-sm) { .loginForm { .ant-form-item-label > label { .labelText { @@ -38,3 +38,12 @@ } } } + +@media screen and (min-width: @screen-sm) and (max-width: @screen-md) { + .loginForm { + .ant-form-item-label { + flex: 0 auto; + max-width: none; + } + } +}