Problem/Motivation

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.

Steps to reproduce

  1. Open a page in the layout builder
  2. Pick a field from the "Content Fields" section
  3. Under "label", pick "Inline"
  4. Click "Add Block"
  5. Notice how the label remains above the rendered content

Proposed resolution

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.

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A

Comments

gpo created an issue. See original summary.

rajab natshah’s picture

Version: 2.0.0-alpha29 » 2.0.x-dev

Thanks, Gil, for reporting this issue.
Do you still face the issue?

Maybe this issue is with Varbase Layout Builder when you open the Inline Block modal window.

Could you please provide a screenshot?

rajab natshah’s picture

Status: Active » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.