Problem/Motivation

Filters are overlapping themselves (the radio is covering the text) at smaller screen sizes.

screenshot showing radios overlapping the text of the radio label

Steps to reproduce

Open the advanced filters of project browser. Shrink screen until issue appears.

Proposed resolution

Fix in CSS / media query.

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

chrisfromredfin created an issue. See original summary.

chrisfromredfin’s picture

mherchel’s picture

Title: Small-screen UI for filters » Filter's checkbox labels look broken at smaller viewports
mherchel’s picture

Status: Active » Needs review

Fixed, and also did a good amount of refactoring to simplify the CSS.

chrisfromredfin’s picture

marcoliver made their first commit to this issue’s fork.

marcoliver’s picture

I updated the MR against 1.0.x, since the styles were relocated from the Svelte component files into one global CSS file.

divya.sejekan’s picture

StatusFileSize
new4.87 MB
new1.45 MB
new153.37 KB
new201.94 KB
new195.71 KB

The overlapping of the radio buttons is fixed verified in Drupalpod for Drupal 10 using MR!398. But in tablet the filters moves a bit when the accordion is expanded refer to the video attached - TabletViewIssue.mov.

Steps Followed:
1. Install drupal 10
2. Navigate to /admin/modules/browse , expand the filter option
3. Check in smaller resolutions.

For the issue in tablet and Error in MR keeping this in Need review state since the MR has some error

divya.sejekan’s picture

Status: Needs review » Needs work
mherchel’s picture

@divya.sejekan great catch! However, I'm moving this to a followup, since this is a minor UX issue, and shouldn't block this core MVP issue.

Followup is at #3423490: Content shift when expanding filters accordion. I'm going to bring this back up to date, and set back to RTBC since no major changes.

mherchel’s picture

Status: Needs work » Reviewed & tested by the community

Brought back up to date and should be good to go!

chrisfromredfin’s picture

Status: Reviewed & tested by the community » Fixed

Tests passing, rebased, confirmed working in DrupalPod - I love it! Go gators.

lostcarpark’s picture

This change has introduced a StyleLint error in GitLabCI:

css/pb.css
 678:3  ✖  Expected "margin-block-end" to come before "font-size"  order/properties-order
1 problem (1 error, 0 warnings)

We haven't made it mandatory for code quality tests to pass in GitLabCI yet.

I will open a follow-up issue.

Status: Fixed » Closed (fixed)

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