Link widget dropdown style broken

Created on 15 December 2023, 11 months ago
Updated 6 March 2024, 9 months ago

Problem/Motivation

When using the Gin Layout Builder flyout/sidebar modal to add or edit a block that uses a Link widget, the styling is broken.

Steps to reproduce

  1. In a fresh install, create a new block type "Block with link".
  2. Add a Link field to this block type, "Test Link".
  3. While editing a Layout Builder page, add this block using the button "Create content block" and choosing the "Block with link" block type.
  4. See that the link widget dropdown is broken because there is no background color.

Proposed resolution

The Claro "variables.css" file is not included because the Claro global-styling library is not present on the page. You can see the error when inspecting the dropdown ul: "--jui-dropdown-bg-color" is not set.

Remaining tasks

Testing to make sure this doesn't cause any problems.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jessehs Taos, New Mexico

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024