Problem/Motivation

Action select list item overlaps the icon in 'RTL'. Check screenshot

Steps to reproduce

1. Go to admin/content page in RTL direction.
2. Select Remove content from front page
3. You will see the text overlaps the icon.

Proposed resolution

Fix the RTL styling.

Comments

Gauravvv created an issue. See original summary.

gauravvvv’s picture

Status: Active » Needs review
StatusFileSize
new1.13 KB

I have provided the patch for RTL dir, Please review

sonam.chaturvedi’s picture

Status: Needs review » Needs work
StatusFileSize
new992.03 KB
new1.12 MB
new1.27 MB

Verified and tested patch #2 on 10.1.x-dev. Patch applied successfully.

Test Steps:
1. Add an RTL language
2. Goto /admin/content page
3. Select "Remove content from front page" option
4. Verify icon overlaps
5. Apply patch #2 and check issue is resolved or not

Test Result: Issue is not resolved after applying patch due to padding added. Option text stills overlaps the icon in RTL.

Before Patch:
before patch

After Patch:
aftr patch

Expected:
expected

Moving to Needs Work.

gauravvvv’s picture

Status: Needs work » Needs review
StatusFileSize
new314.68 KB

I think you need to clear your cache, In your second screenshot, I can't see the code from patch

[dir="rtl"] .views-bulk-actions__item .form-element--type-select {
  padding: calc(0.5rem - 1px) calc(1rem - 1px) calc(0.5rem - 1px) calc(2.25rem - 1px);
}

Please see

sonam.chaturvedi’s picture

StatusFileSize
new1.23 MB

Thanks @Gauravv. I had cleared the drupal cache, however I think it was still cached.

Re-tested with new drupal 10.1.x-dev installation. And patch #2 resolves the issue.
Attaching only after patch screenshot as before patch screenshot is added in #3.

After patch:
after patch#2

smustgrave’s picture

Status: Needs review » Needs work
Issue tags: +Needs Review Queue Initiative

We have been removing rtl in the claro refactoring tickets. Should we avoid adding a new instance here?

Could be wrong.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

gauravvvv’s picture

Status: Needs work » Needs review
Parent issue: » #3332698: Refactor Claro's tableselect stylesheet
StatusFileSize
new1.22 KB

The refactor issue for tableselect has been marked as closed, allowing us to focus on addressing it within this specific issue. I have included the parent issue for reference.

I have re-rolled the patch as patch #2 is not applying anymore.

smustgrave’s picture

Priority: Normal » Minor
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new12.91 KB

Confirmed the issue by installing Arabic language.
Patch #8 resolves the issue

fixed

  • lauriii committed 5cc9e951 on 11.x
    Issue #3335670 by Gauravvvv, sonam.chaturvedi, smustgrave: Claro: Text...

  • lauriii committed 36e56d36 on 10.1.x
    Issue #3335670 by Gauravvvv, sonam.chaturvedi, smustgrave: Claro: Text...
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Committed 5cc9e95 and pushed to 11.x. Also cherry-picked to 10.1.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.