mirror of
https://github.com/silverstripe/silverstripe-simple
synced 2024-10-22 11:05:50 +02:00
Merge pull request #11 from silverstripe-rebelalliance/open/7316
Fix right label and validation error message flow
This commit is contained in:
commit
917c322cb7
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
|
||||
@ -83,8 +83,6 @@ form label.left {
|
||||
font-size: 13px;
|
||||
}
|
||||
form label.right {
|
||||
max-width:50%;
|
||||
float: right;
|
||||
padding-left: 5%;
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
@ -235,15 +233,16 @@ a.btn:after {
|
||||
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