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
17
css/form.css
17
css/form.css
@ -40,10 +40,10 @@ form .bad {
|
|||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
.checkbox label.right,
|
.checkbox label.right,
|
||||||
.radio label.right {
|
.radio label.right {
|
||||||
float:left;
|
text-align: left;
|
||||||
text-align: left;
|
padding-left: 0px;
|
||||||
}
|
}
|
||||||
#MemberLoginForm_LoginForm_action_dologin,
|
#MemberLoginForm_LoginForm_action_dologin,
|
||||||
.Actions .action {
|
.Actions .action {
|
||||||
padding: 6px 20px
|
padding: 6px 20px
|
||||||
@ -77,8 +77,6 @@ form label.left {
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
form label.right {
|
form label.right {
|
||||||
max-width:50%;
|
|
||||||
float: right;
|
|
||||||
padding-left: 5%;
|
padding-left: 5%;
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
@ -202,15 +200,16 @@ input[type="submit"] {
|
|||||||
form label.right {
|
form label.right {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
|
top: 10px;
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
width:50%;
|
width: 50%;
|
||||||
padding:0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
.checkbox label.right,
|
.checkbox label.right,
|
||||||
.radio label.right {
|
.radio label.right {
|
||||||
position:relative;
|
position:relative;
|
||||||
right:auto;
|
right:auto;
|
||||||
margin-top:0;
|
margin-top:-10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user