mirror of
https://github.com/silverstripe/silverstripe-simple
synced 2024-10-22 11:05:50 +02:00
BUGFIX:fixed right label and validation error message flow from large window size to mobile.
This commit is contained in:
parent
d7d335a767
commit
b68f80fc70
15
css/form.css
15
css/form.css
@ -40,10 +40,10 @@ form .bad {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.checkbox label.right,
|
||||
.radio label.right {
|
||||
float:left;
|
||||
.radio label.right {
|
||||
text-align: left;
|
||||
}
|
||||
padding-left: 0px;
|
||||
}
|
||||
#MemberLoginForm_LoginForm_action_dologin,
|
||||
.Actions .action {
|
||||
padding: 6px 20px
|
||||
@ -77,8 +77,6 @@ form label.left {
|
||||
font-size: 13px;
|
||||
}
|
||||
form label.right {
|
||||
max-width:50%;
|
||||
float: right;
|
||||
padding-left: 5%;
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
@ -202,15 +200,16 @@ input[type="submit"] {
|
||||
form label.right {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
margin-top: 3px;
|
||||
width:50%;
|
||||
padding:0;
|
||||
width: 50%;
|
||||
padding: 0;
|
||||
}
|
||||
.checkbox label.right,
|
||||
.radio label.right {
|
||||
position:relative;
|
||||
right:auto;
|
||||
margin-top:0;
|
||||
margin-top:-10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user