mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Moved <select> styles to generic _forms.scss
Form element styles should be consistent throughout the CMS. While we still have the ability to create dropdowns (<select>) which aren't based on Entwine/HTML rather than new components like <SingleSelectField>, we need to ensure those are rendered the same. By default, the Entwine-based CMS sections will transform <select> into a ChosenJS control, but you can still apply .no-chosen. Hence there's a need for correct height both in React and Entwine sections, not just in a React component.
This commit is contained in:
parent
79b9bb6f18
commit
a0d4e363c2
4
admin/client/dist/styles/bundle.css
vendored
4
admin/client/dist/styles/bundle.css
vendored
File diff suppressed because one or more lines are too long
@ -1,3 +0,0 @@
|
||||
select.form-control:not([size]):not([multiple]) {
|
||||
height: 2.5rem;
|
||||
}
|
@ -34,7 +34,6 @@
|
||||
@import "../components/PopoverField/PopoverField";
|
||||
@import "../components/GridField/GridField";
|
||||
@import "../components/HiddenField/HiddenField";
|
||||
@import "../components/SingleSelectField/SingleSelectField";
|
||||
@import "../components/Label/Label";
|
||||
@import "../components/Preview/Preview";
|
||||
@import "../components/Toolbar/Toolbar";
|
||||
|
@ -54,7 +54,11 @@ form.nostyle {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
input.text,
|
||||
select:not([size]):not([multiple]) {
|
||||
height: 2.5rem;
|
||||
}
|
||||
|
||||
input.text,
|
||||
input.creditcard,
|
||||
textarea,
|
||||
select,
|
||||
|
Loading…
Reference in New Issue
Block a user