Problem/Motivation

The "Filter by keyword" input is cut off:

Filter by keyword cut off

This was first reported in #3328566: The placeholder in webform filter input is not displayed correctly but the text was shortened and worked at the time but this no longer appears to be the case.

Steps to reproduce

Go to /admin/structure/webform

Proposed resolution

Increase the max-width on the element. Override Claro's negative margin on autocomplete elements so the next element isn't pulled over.

Remaining tasks

N/A

User interface changes

Filter by keyword input is no longer cut off.

API changes

N/A

Data model changes

N/A

Issue fork webform-3509604

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mjpa created an issue. See original summary.

mjpa’s picture

Status: Active » Needs review
StatusFileSize
new46.23 KB

Wasn't the max-width, but Claro adding a negative margin-inline-end which was pulling the next element inwards.

The MR resolves this and with it applied, we now see:

Filter by keyword no longer cut off

mjpa’s picture

Issue summary: View changes
snehal-chibde’s picture

Assigned: Unassigned » snehal-chibde
snehal-chibde’s picture

StatusFileSize
new19.56 KB
new19.66 KB

I have checked the issue on drupal 11, webform 6.3x, and applied the above MR. It is working fine. Added before and after screenshot below for reference.

liam morland made their first commit to this issue’s fork.

snehal-chibde’s picture

Assigned: snehal-chibde » Unassigned
sdhruvi5142’s picture

StatusFileSize
new383.56 KB
new308.59 KB

Hi, Applied MR!601 on drupal 11.x version and it is working as expected.

Testing Steps:

1. Installed webform on my Local setup
2. Go to /admin/structure/webform
3. Observe the changes there..

Testing Result:
After applying patch the "Filter by keyword" isn't being cut off and there is proper space between both the filters and it looks as expected. And moving this to RTBC+1. Attaching screenshots for reference.

Status: PASS

sdhruvi5142’s picture

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

Status: Reviewed & tested by the community » Fixed

I tested the fix in Chrome and Firefox and it looks good.

Status: Fixed » Closed (fixed)

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