Skip to content

Instantly share code, notes, and snippets.

@alekskorovin
Created September 25, 2014 16:01
Show Gist options
  • Save alekskorovin/816dd9928c094d23c0b5 to your computer and use it in GitHub Desktop.
Save alekskorovin/816dd9928c094d23c0b5 to your computer and use it in GitHub Desktop.
cross browser fix of label width which is inside of form
@-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