Closed (fixed)
Project:
Drupal core
Version:
9.5.x-dev
Component:
Claro theme
Priority:
Minor
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
20 Oct 2022 at 15:59 UTC
Updated:
25 Apr 2023 at 23:48 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
akshaydalvi212 commentedHello,
Providing the patch, Kindly review it.
Thanks and regards.
Comment #3
_utsavsharma commentedCan you elaborate more , why you need to need to change the font-size.?
Comment #4
mukhtarm commentedHi @joachim the question is valid on #3. Also i couldn't find a difference when increasing or decreasing the browser font size to large/ extra large from medium (recommended) when a tested a dropdown field in a content type.
Tested OS: Mac
Browser: Chrome
Comment #5
joachim commented> Can you elaborate more , why you need to need to change the font-size.?
People need to change the font size of their browser all the time. To read small text more easily, or to fit more text on the screen, for instance.
I was seeing this problem on Firefox on a Mac.
Comment #6
bebalachandra commentedEverything looks good for me. Tested on google chrome and mozilla firefox (mac). Everything is fine without any patch.
attaching screenshot for reference.
Comment #7
joachim commentedThe patch doesn't apply.
Comment #8
sakthivel m commented#8 Please review the patch
Comment #9
joachim commentedI applied the patch, did a drush cr, and I still get the line on larger font sizes.
Comment #10
asha nair commentedApplied patch. The bottom white line is still there, but white line at the right side disappears.
Comment #11
asha nair commentedComment #12
sakthivel m commented#12 Please review the patch
Comment #13
asha nair commentedApplied patch in #12. The patch removes all the white lines of button in Mozilla and Chrome.
Comment #14
gaurav-mathur commentedI am also Applied this patch in #12.
The patch removes all the white lines of dropdown button in Chrome.
Comment #16
gauravvvv commentedPatch #12, no longer applies to 10.1.x. I have re-rolled the patch. Along with that instead of
margin-rightI have usedmargin-inline-endso we don't need to write it again for RTL. Please review.Comment #17
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #18
nod_Issue version was not updated. Bot checked against wrong branch.
Comment #19
deepalij commentedAble to reproduce the issue using steps in IS
Verified and tested patch #16 on Drupal 10.1.x-dev
The patch applied cleanly
The issue got resolved after applying the patch. Now, the white line doesn't appear when the font size is reduced
Refer to the attached screenshots
Before:

After:

RTBC +1
Comment #20
smustgrave commentedFor me this is a won't fix because this is a button + dropdown. That little space provides some separation but without it the two blend together.
Will post in #frontend
Comment #21
larowlanYeah, I think removing the vertical line is out of scope.
The issue summary is about removing the bottom line.
Comment #22
akshay kashyap commentedProviding the patch, Please review it.
Comment #23
akshay kashyap commentedComment #24
akshay kashyap commentedComment #25
tanuj. commentedCannot reproduce this issue on Drupal: 10.1.x, tried it on different browsers and with different font sizes. Attaching screenshots for reference.
Comment #26
smustgrave commentedBuild failure in #22
Comment #27
gauravvvv commentedAddressed #21, attached interdiff with #16.
#22, introduced a new solution, that is not aligned with the earlier ones.
Comment #28
akshay kashyap commented@Gauravvvv Thanks for the Patch. I tested Patch #27 and it is working fine. Please find the attached image for the results.
Thank You!!
Comment #29
aziza_a commentedChecked the patch given in #27 working fine as expected
Comment #31
bnjmnmComment #33
bnjmnmI tried the various patches here and all of them had issues at certain zoom settings. MR has a solution that I believe works at all zoom settings, and a reviewer can confirm or disprove this 😎
Comment #34
smustgrave commentedTested the MR3768 and did not see any issue when zooming in and out. Used chrome for testing.
Comment #35
larowlanCrediting @smustgrave for changing the course of the issue and @Asha Nair for the first screenshots
Comment #36
larowlanManually tested this and confirmed the white box at the bottom is gone.
Crediting joachim for reporting.
Comment #39
larowlanCommitted to 10.1.x and backported to 10.0.x and 9.5.x
Comment #41
gauravvvv commentedUpdating status
Comment #42
longwaveReverting this from 9.5.x, while this cherry-picked cleanly,
yarn buildgives a different result:This is presumably because we can't use CSS variables or logical properties on IE11 in 9.5.x, and so PostCSS builds the resulting CSS differently.
Comment #44
longwaveComment #45
smustgrave commentedGood catch!
Comment #47
larowlanCommitted the new patch variant to 9.5.x
Lessons learned - 'css only changes' still need testing on lower versions before backport 😀
Thanks @longwave
Comment #49
pasqualleThe button background introduced a problem in Gin theme
#3355885: Dropbutton style issue after Claro update
Comment #50
kristen polWas looking at this issue and was surprised that the person who created the issue was not given issue credit... I thought we always give issue credit to the issue creator? In fact, I don't know why that wouldn't just default to being checked. Also, Deepali looks to have genuinely tested a patch that had not been tested yet didn't get credit so I'm unclear on that as well. But since this is marked closed, I don't know if it will be changed.