1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Remove incorrect CSS helper classes (#26712)

This commit is contained in:
wxiaoguang
2023-08-25 14:47:59 +08:00
committed by GitHub
parent 636b6eaf2a
commit ee9e83b230
5 changed files with 21 additions and 29 deletions

View File

@@ -179,8 +179,7 @@ textarea:focus,
#create-page-form form .header {
padding-left: 280px !important;
}
#create-page-form form .inline.field > label,
#create-page-form form .inline.field.captcha-field > span {
#create-page-form form .inline.field > label {
text-align: right;
width: 250px !important;
word-wrap: break-word;
@@ -206,6 +205,13 @@ textarea:focus,
}
}
.m-captcha-style {
width: 100%;
height: 5em;
vertical-align: middle;
display: inline-block;
}
@media (min-width: 768px) {
.g-recaptcha-style,
.h-captcha-style {
@@ -219,6 +225,9 @@ textarea:focus,
width: 302px !important;
height: 76px !important;
}
.m-captcha-style {
width: 50%;
}
}
@media (max-height: 575px) {
@@ -271,13 +280,7 @@ textarea:focus,
.user.reset.password form .inline.field > label,
.user.link-account form .inline.field > label,
.user.signin form .inline.field > label,
.user.signup form .inline.field > label,
.user.activate form .inline.field.captcha-field > span,
.user.forgot.password form .inline.field.captcha-field > span,
.user.reset.password form .inline.field.captcha-field > span,
.user.link-account form .inline.field.captcha-field > span,
.user.signin form .inline.field.captcha-field > span,
.user.signup form .inline.field.captcha-field > span {
.user.signup form .inline.field > label {
text-align: right;
width: 250px !important;
word-wrap: break-word;
@@ -421,10 +424,7 @@ textarea:focus,
}
.repository.new.repo form .inline.field > label,
.repository.new.migrate form .inline.field > label,
.repository.new.fork form .inline.field > label,
.repository.new.repo form .inline.field.captcha-field > span,
.repository.new.migrate form .inline.field.captcha-field > span,
.repository.new.fork form .inline.field.captcha-field > span {
.repository.new.fork form .inline.field > label {
text-align: right;
width: 250px !important;
word-wrap: break-word;