mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed viewer/editor groups field widths to work with chosen.js UI component
This commit is contained in:
parent
e8f9624b42
commit
a6a7b2e469
@ -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); }
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user