Issue #2611268 by darketaine, iamDamon, thpoul: Link field on node edit causes horizontal scrollbar

8.2.x
Scott Reeves 2016-06-05 15:59:49 -04:00
parent f56e100159
commit 3c7e318ee6
2 changed files with 30 additions and 0 deletions

View File

@ -15,6 +15,18 @@ form {
} }
fieldset { fieldset {
margin: 1em 0; margin: 1em 0;
min-width: 0;
}
/**
* We've temporarily added this Firefox specific rule here to fix fieldset
* widths.
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() {
fieldset {
display: table-cell;
}
} }
details, details,
fieldset, fieldset,

View File

@ -10,8 +10,20 @@ fieldset:not(.fieldgroup) {
border-radius: 2px; border-radius: 2px;
margin: 1em 0; margin: 1em 0;
padding: 30px 18px 18px; padding: 30px 18px 18px;
min-width: 0;
position: relative; position: relative;
} }
/**
* We've temporarily added this Firefox specific rule here to fix fieldset
* widths.
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() {
fieldset:not(.fieldgroup) {
display: table-cell;
}
}
fieldset:not(.fieldgroup) > legend { fieldset:not(.fieldgroup) > legend {
font-size: 1em; font-size: 1em;
font-weight: bold; font-weight: bold;
@ -23,6 +35,12 @@ fieldset:not(.fieldgroup) > legend {
.fieldgroup { .fieldgroup {
min-width: 0; min-width: 0;
} }
/**
* We've temporarily added this Firefox specific rule here to fix fieldset
* widths.
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() { @-moz-document url-prefix() {
.fieldgroup { .fieldgroup {
display: table-cell; display: table-cell;