Olivero: configure section icon focus breaking in firefox.

Steps to reproduce:

1. edit page by layout builder.
2. focus on configure section icon.

Adding chrome and Firefox screenshots for reference.

Comments

Gauravmahlawat created an issue. See original summary.

kiran.kadam911’s picture

This issue is of Layout builder not because of Olivero theme.

mherchel’s picture

Title: Olivero: configure section icon focus breaking in firefox » Layout Builder: Configure section icon focus too large in Firefox
Component: Olivero theme » layout_builder.module
Priority: Normal » Minor
Issue summary: View changes
Issue tags: +CSS
StatusFileSize
new294.45 KB

Yeah, this issue is caused by Layout Builder's styles. When using text-indent, we should also be using overflow:hidden.

gauravvvv’s picture

StatusFileSize
new517 bytes

Thanks @mherchel, Patch attached for same. Please review.

gauravvvv’s picture

Status: Active » Needs review
ankithashetty’s picture

StatusFileSize
new430 bytes
new641 bytes

Just fixed custom command failure error in #4, thanks!

pallavisk’s picture

StatusFileSize
new51.45 KB
new52.48 KB

Verified and tested patch #6.
Patch applied successfully.

Testing Steps:
# Go to Appearance -> Set Olivero theme
# Go to Extend -> Enable Layout Builder module
# Go to Structure -> Article content type ->Manage Display -> Enable Layout options
# Create an article page by layout builder.
# Save it and focus on configure section icon to see the result.

Please refer attached screenshots.
Can be move to RTBC.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

aarti zikre’s picture

Status: Needs review » Reviewed & tested by the community
quietone’s picture

Status: Reviewed & tested by the community » Needs review

@aarti zikre, when setting an issue to RTBC your reasons for doing show should be listed.

Setting back to NR. Does the patch apply to 9.5?

abhijith s’s picture

StatusFileSize
new117.63 KB
new106.94 KB

Applied patch #6 on 9.5.x and focus area is reduced in Firefox.

Before patch:
before

After patch:
after

There is some margin appeared at the bottom of close button.Is that okay?

akshayadhav’s picture

Status: Needs review » Closed (cannot reproduce)
StatusFileSize
new581.98 KB

Could not reproduce the issue. Did not require to apply the patch.
layout builder - remove link focus