Closed (fixed)
Project:
Layout Paragraphs
Version:
2.0.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2022 at 05:19 UTC
Updated:
22 Mar 2022 at 20:29 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #3
realityloop commentedComment #4
anybody+1, we can also confirm this issue and will have a look at the patch.
@thomas.frobieter could you be so kind?
Comment #5
thomas.frobieterYeah, looks good to me. Thanks!
Comment #6
justin2pin commentedThanks for this. It's not immediately clear why the new CSS rule is necessary, though, since
.layout-select__item .optionis targeted just a few lines above. Would you mind sharing what theme you are using? Your theme must be targeting.form-item__label.option, correct? (FWIW, Drupal CS complains about overly specific selectors when using.form-item__label.option, which is why this was changed. Not a deal breaker.)Comment #7
thomas.frobieterIts: https://www.drupal.org/project/gin (based on Claro)
Claro sets:
in /core/themes/claro/css/components/form.css
What overrides:
from /modules/contrib/layout_paragraphs/css/layout-select.css
Comment #8
justin2pin commentedGot it, thanks. Let's make the existing rule more specific, rather than adding a new one. Latest MR tested with Claro - I'm going to merge this.
Thanks everybody.
Comment #9
pp.panatom commentedlooks like similar adjustment is needed for the checked option, otherwise it wont highlight the selected state
.layout-select__item input:checked + label.form-item__labelComment #10
thomas.frobieterComment #13
justin2pin commentedShould be all set now. Thanks all.