![Announcement icon Announcement icon](https://www.drupal.org/files/styles/grid-2-2x-square/public/announcements/drupal-evergreen-logo-280X280px%20%281%29_0.jpg?itok=PHpn6rCb)
Problem/Motivation
The arrow aesthetic signature is mispositioned in Drupal 10, compared to Drupal 9.
Drupal 10:
Drupal 9:
Steps to reproduce
- Install a Drupal 10 site with Claro as the administration theme.
- Install Views UI module.
- Edit any view that has a filter requiring value configuration.
- Edit any filter that requires value configuration.
- See something similar to the above.
Proposed resolution
Rework the left
and right
property value of the .views-config-group-region .views-group-box--value > .form-item::after
rule in core/themes/claro/css/components/views-ui.css
such that the calculation in calc()
does not subtract from unitless 0
.
Remaining tasks
Fix!
User interface changes
The arrow aesthetic signature is repositioned.
API changes
Not applicable.
Data model changes
Not applicable.
Release notes snippet
None.
Before patch:
After patch:
Comment | File | Size | Author |
---|---|---|---|
#4 | Screenshot 2023-01-24 at 11.06.07 AM.png | 78.71 KB | gauravvvv |
#4 | Screenshot 2023-01-24 at 11.05.40 AM.png | 114.65 KB | gauravvvv |
d9.png | 2.97 KB | wongjn | |
d10.png | 2.44 KB | wongjn |
Issue fork drupal-3334525
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:
- 3334525-views-ui-filter
changes, plain diff MR !3265
Comments
Comment #3
wongjn CreditAttribution: wongjn as a volunteer commentedComment #4
gauravvvv CreditAttribution: gauravvvv at Axelerant for Drupal India Association commentedThis has been fixed by the above patch. Adding before and after patch screenshot. Can be moved to RTBC
Before patch:
After patch:
Comment #5
gauravvvv CreditAttribution: gauravvvv at Axelerant for Drupal India Association commentedUpdated issue summary.
Comment #6
sonam.chaturvedi CreditAttribution: sonam.chaturvedi at Salsa Digital commentedVerified and tested MR!3265 on 10.1.x-dev . Patch applied successfully.
Test Results:
1. The arrow aesthetic signature is now positioned correctly in Drupal 10.
2. Arrow position is fixed for radio button and dropdown filter type in Views UI
Screenshots already added in the previous comment.
RTBC+1
Comment #10
lauriiiCommitted e505dc7 and pushed to 10.1.x. Also cherry-picked to 10.0.x. Thanks!