You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.
How would I make the individual color blocks float inline - so when the space they're in is say a .span2 - they create multiple lines as they fill up the width?
The text was updated successfully, but these errors were encountered:
I guess you are talking about when picker: false
If you specify a max-width for .simplecolorpicker.inline, then the colors will be over multiple lines if needed.
.simplecolorpicker.inline {
max-width:100px;
}
This will work too:
<divstyle="max-width: 100px"><selectname="colorpicker-inline" id="colorpicker-inline"><!-- Colors from Google Calendar --><optionvalue="#7bd148">Green</option><optionvalue="#5484ed">Bold blue</option><optionvalue="#a4bdfc">Blue</option><optionvalue="#46d6db">Turquoise</option><optionvalue="#7ae7bf">Light green</option><optionvalue="#51b749">Bold green</option><optionvalue="#fbd75b">Yellow</option><optionvalue="#ffb878">Orange</option><optionvalue="#ff887c">Red</option><optionvalue="#dc2127">Bold red</option><optionvalue="#dbadff">Purple</option><optionvalue="#e1e1e1">Gray</option></select></div>
If you talk about the picker itself (when picker: true), there is already a max-width:
.simplecolorpicker.picker {
max-width:264px;
}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How would I make the individual color blocks float inline - so when the space they're in is say a .span2 - they create multiple lines as they fill up the width?
The text was updated successfully, but these errors were encountered: