Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
A pixel or two higher would look right.
Steps to reproduce
Check any accordion element for example - go to /admin/config/system/site-information
Proposed resolution
Add margin-top: -0.125rem;
in .claro-details__summary::before
Remaining tasks
Review
User interface changes
Before/After
API changes
NA
Data model changes
NA
Release notes snippet
NA
Comment | File | Size | Author |
---|---|---|---|
#11 | Screenshot at Jan 19 12-42-09.png | 148.15 KB | shweta__sharma |
#11 | Screenshot at Jan 19 12-41-17.png | 199.51 KB | shweta__sharma |
#7 | after-applying-patch.png | 5.41 KB | Vidushi Mehta |
#7 | before-applying-patch.png | 5.55 KB | Vidushi Mehta |
#6 | Screenshot from 2023-08-16 18-01-20.png | 3.79 KB | kostyashupenko |
Issue fork drupal-3377198
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:
- 3377198-details-up-chevron changes, plain diff MR !6740
Comments
Comment #2
Harish1688 CreditAttribution: Harish1688 at Material commentedlooking for this issue..
Comment #3
Harish1688 CreditAttribution: Harish1688 at Material commentedHi,
Reproduced the issue on local and created a patch for issue 'details up chevron not quite vertically aligned in forced color mode'. attached a image for reference.
Test Steps:
1. setup the Drupal 11.x and claro theme as backend theme=.
2. moved on path '
admin/config/system/site-information
' and active the forced color in browser, and verified the issue (chevron not align vertically).3. create 3377198-3.patch , Need Review.
After Patch:
Comment #4
Vidushi Mehta CreditAttribution: Vidushi Mehta at gai Technologies Pvt Ltd commentedReviewed the patch, the chevron is vertically top aligned after patch.
Comment #5
longwaveWhy not just
?
Side-by-side screenshots from before and after would help as well.
Comment #6
kostyashupenkoComment #7
Vidushi Mehta CreditAttribution: Vidushi Mehta at gai Technologies Pvt Ltd commentedI've reviewed the patch #6 but still find the alignment issue, Attaching the before and after screenshots for the same. I am keeping the status same as Needs review so that we'll have more reviews on this
Comment #8
kostyashupenkoWe don't need top alignment. It should be vertically centered
Comment #9
smustgrave CreditAttribution: smustgrave commentedSeems suggestion in #5 worked.
Comment #11
shweta__sharma CreditAttribution: shweta__sharma at OpenSense Labs commentedLooks like this is already aligned I measured with a ruler and the arrow top and bottom height is 19px
See screenshots for reference.
Comment #12
bnjmnm@shweta__sharma Perhaps I'm misreading your images, but the issue specifies this is related the up-pointing chevron, and both screenshots you provided are examining the down-pointing one.
Comment #13
shweta__sharma CreditAttribution: shweta__sharma at OpenSense Labs commentedYes @bnjmnm You are correct I was checking only up-pointing chevron. Down-pointing chevron icon has a 1-2 point px issue.
Comment #14
shweta__sharma CreditAttribution: shweta__sharma at OpenSense Labs commentedIssue summary Updated. I don't think it has any pending work left. Based on #5 Moving status to RTBC now
Thanks
Comment #15
shweta__sharma CreditAttribution: shweta__sharma at OpenSense Labs commentedComment #16
nod_can someone reup a path that applies or better yet a MR?
thx
Comment #18
sakthi_dev CreditAttribution: sakthi_dev at Specbee for Drupal India Association commentedThe mentioned lines are removed. Is the change really required.
Comment #20
karanpagare CreditAttribution: karanpagare as a volunteer and at QED42 for Drupal India Association commentedComment #21
smustgrave CreditAttribution: smustgrave commentedPatch https://www.drupal.org/files/issues/2023-08-16/3377198-6.patch copied into the MR.
Comment #24
nod_