Skip to content

Commit

Permalink
fix: remove label until xs and reset fix label width
Browse files Browse the repository at this point in the history
  • Loading branch information
janrembold committed Apr 10, 2024
1 parent 977c35e commit 6ae9cea
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/styles/components/loginForm.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}
}
}

0 comments on commit 6ae9cea

Please sign in to comment.