- Issue created by @gpo
In the layout builder, while configuring a block, Drupal provides an option to display the field label inline, as opposed to above the rendered content. This setting has no effect on the Varbase theme.
- Open a page in the layout builder
- Pick a field from the "Content Fields" section
- Under "label", pick "Inline"
- Click "Add Block"
- Notice how the label remains above the rendered content
On the file /components/atoms/field/field.twig
, .field__label
are displayed as a block. A quick and dirty was would be to use span instead of div, and adding some spacing between label and content; a more correct way would be to change the CSS styling to not render .field__label
as blocks.
Active
2.0
Code