[CSS] Delete display:flex from pb-autocomplete #44
Labels
needs funding
Issues falling out of scope for current budget. Contact us about cross-funding
UI
UI meets UX meets CSS design issues
pb-automplete
simply consists of an input and a label.Despite that fact, the unnecessary rule
display: flex; align-items: center;
is set globally and causes layout problems when adding more inputs into a form, or in mixing with other flexed elements.I guess, the initial reason for this rule was to insert elements like a select element into the component, so that the select and input are displayed inline.
(-> Example "Combine with other form fields whose value is passed on" https://unpkg.com/@teipublisher/[email protected]/dist/api.html#pb-autocomplete.1)
Another side effect could be that the dropdown with the autosuggestions will be pinned next to the input instead of under it.
This rule should be set by either placing a customizable variable into the webcomponent, or just left blank.
The text was updated successfully, but these errors were encountered: