MINOR Fixed viewer/editor groups field widths to work with chosen.js UI component

This commit is contained in:
Ingo Schommer 2012-03-04 22:07:36 +01:00
parent e8f9624b42
commit a6a7b2e469
2 changed files with 9 additions and 0 deletions

View File

@ -392,6 +392,8 @@ form.member-profile-form .ui-corner-all, form.member-profile-form .ui-corner-top
/** -------------------------------------------- "Settings" Form -------------------------------------------- */
#CanViewType .optionset li, #CanEditType .optionset li, #CanCreateTopLevelType .optionset li { float: none; width: auto; }
#ViewerGroups select, #EditorGroups select, #CreateTopLevelGroups select { width: 512px; }
/** -------------------------------------------- Panels -------------------------------------------- */
.cms-panel { overflow: hidden; }
.cms-panel .cms-panel-toggle { -moz-box-shadow: 0 0 5px rgba(107, 120, 123, 0.5); -webkit-box-shadow: 0 0 5px rgba(107, 120, 123, 0.5); -o-box-shadow: 0 0 5px rgba(107, 120, 123, 0.5); box-shadow: 0 0 5px rgba(107, 120, 123, 0.5); }

View File

@ -898,6 +898,13 @@ form.member-profile-form {
width: auto;
}
}
#ViewerGroups, #EditorGroups, #CreateTopLevelGroups {
select {
// Fix for chosen.js width detection on hidden elements.
// TODO Remove once .field styling in _form.scss is refactored to allow flexible field widths
width: $grid-x * 64;
}
}
/** --------------------------------------------
* Panels