Skip to content

Shrink tag and actions container in uui-ref-node-document-type if empty #19936

@bjarnef

Description

@bjarnef

Which Umbraco version are you using?

16.1.1

Bug summary

This may be an issue in UI library itself, but I noticed when uui-ref-node-document-type when slotted tag and actions are empty, these take up space due its margin.

Image
Image

Can we shrink these or render only if any content?

The outline would look a bit nicer. To demonstrate I have just added display: none to tag and actions slots.

Image

Specifics

No response

Steps to reproduce

Notice tag and actions slots take up a bit space when empty, e.g. under a content node > Info > General > Document Type.

Expected result / actual result

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions