Autocomplete form breaks wrapping container

Created on 7 May 2021, over 3 years ago
Updated 17 July 2024, 3 months ago

Problem/Motivation

Autocomplete form breaks wrapping container

Steps to reproduce

Just add a multi-value entity reference field with autocomplete widget to a node form and resize window.

Proposed resolution

The wrapping element "div.claro-autocomplete" is an inline-block. The inner "input.form-element" is styled with max-width, what is not working.

The following CSS solves the problem.

.claro-autocomplete .form-element {
    width: 100%;
    max-width: 40rem;
}
πŸ› Bug report
Status

RTBC

Version

2.0

Component

User interface

Created by

πŸ‡©πŸ‡ͺGermany JFeltkamp Hamburg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024