Problem/Motivation
A field placed in an entity view display that renders empty says "Empty. Configure it to make it visible."
Configuring it does not help: it shows the value of the content, and the sample entity has none for some fields, an icon field, a comment field in a preview.
The sub tabs of the sidebars, Displays and Presets in Instances, Elements and Presets in Libraries, Config, Styles and Visibility in Settings, scroll away with a long list, and so does the search field under them.
In the Builder, the hover and selection outlines are drawn outside the node, and the root label above the root.
A node flush with the edge of the Builder iframe has them cut, and a padding to make room would change the render.
Proposed resolution
An empty field says it depends on the content, the sub tabs and the search under them stick to the top of their panel, and the Builder outlines and the root label are drawn inside the box they mark.
Remaining tasks
- Review.
- File the ui_controls side: its Styles filter sticks under the tabs too.
User interface changes
The three above.
API changes
None. Two new CSS variables: --db-z-sticky-tabs and --db-form-zoom, the zoom of the Settings forms.
Data model changes
None.
Issue fork display_builder-3632003
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
mogtofu33 commentedComment #6
pdureau commented