BUGFIX:fixed right label and validation error message flow from large window size to mobile.

This commit is contained in:
Jeremy Bridson 2012-07-20 14:31:38 +12:00
parent d7d335a767
commit b68f80fc70

View File

@ -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;
} }
} }