1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

fix problem with error styles in forms that clashed with alert-messages by qualifying the .error with .clearfix

This commit is contained in:
Mark Otto
2011-09-11 21:43:23 -07:00
parent 0afba3867d
commit c73533ac73
3 changed files with 13 additions and 13 deletions

View File

@@ -153,7 +153,7 @@ select:focus {
}
// Error styles
form div.error {
form div.clearfix.error {
background: lighten(@red, 57%);
padding: 10px 0;
margin: -10px 0 10px;
@@ -443,7 +443,7 @@ textarea[readonly] {
}
}
}
div.error {
div.clearfix.error {
padding-top: 10px;
padding-bottom: 10px;
padding-left: 10px;