https://git.drupalcode.org/project/drupal/-/blob/9.4.x/core/themes/claro...
REMs are supported even in IE9. There is no need to define margins using pixels.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 3261049-10.patch | 1.68 KB | gauravvvv |
| #10 | interdiff-3261049-5_10.txt | 858 bytes | gauravvvv |
| #8 | remove_duplicate_margin-3261049-8.patch | 1.65 KB | echechulina |
| #5 | 3261049-5.patch | 868 bytes | elber |
Comments
Comment #1
chi commentedWe might need to fix same bug in Seven as well.
Comment #2
chi commentedComment #3
chi commentedComment #4
elberComment #5
elberComment #6
elberComment #7
chi commentedThe typography.css file needs to be compiled.
https://www.drupal.org/node/3084859
Comment #8
echechulina commentedThe duplicated margin properties were removed from typography css
Comment #9
longwave#8 doesn't apply, it doesn't have the "core" directory as the first component of the file path.
Comment #10
gauravvvv commentedI have provided the compiled patch, Fixed the custom commands. Attached interdiff for same. Please review.
Comment #11
gauravvvv commentedComment #12
longwaveShould we configure stylelint to disallow this?
https://stylelint.io/user-guide/rules/list/declaration-block-no-duplicat...
Comment #13
kristen pol@longwave Does the patch need updating?
Checked the patch in #10 and it applies cleanly for 9.3, 9.4, and 10.
Comment #14
longwave#12 can be moved to a followup, I tried it locally but there are a number of wider issues that need discussing.
Therefore to me #10 is RTBC.
Comment #15
longwaveOpened #3265606: Enable declaration-block-no-duplicate-properties in Stylelint for followup.
Comment #16
longwaveFix title.
Comment #20
lauriiiCommitted 3effb67 and pushed to 10.0.x. Also cherry picked to 9.4.x and 9.3.x since Claro is experimental. Thanks!