Created
September 25, 2014 16:01
-
-
Save alekskorovin/816dd9928c094d23c0b5 to your computer and use it in GitHub Desktop.
cross browser fix of label width which is inside of form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix() { | |
fieldset { | |
display: table-cell; | |
} | |
} | |
fieldset { | |
min-width: 0; | |
label { | |
display: block; | |
padding: 14px 0; | |
font-size: @font-size-label; | |
font-weight: bold; | |
color: @color-label; | |
} | |
} | |
label { | |
word-wrap: break-word; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment