Problem/Motivation
In this issue was added some css:
https://www.drupal.org/project/drupal/issues/3445993
https://git.drupalcode.org/project/drupal/-/merge_requests/8011#note_316513
Proposed resolution
1. Remove unnecessary cascade.
2. Probably remove that last-of-type selector and add it to padding-bottom.
Issue fork drupal-3450103
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:
Comments
Comment #2
finnsky commentedLet's start when parent feature will be merged.
Comment #3
m4oliveiComment #4
finnsky commentedParent issue merged
Comment #6
rsnydWorking on this.
Comment #7
rsnydIn this note (https://git.drupalcode.org/project/drupal/-/merge_requests/8011#note_316513), if I understand correctly, @finnsky asks for the margin-block-end style to be changed to padding-bottom and added to the .admin-toolbar__footer rule, as opposed to the .admin-toolbar__footer > .toolbar-block:last-of-type where it currently resides.
If this is all true, the spacing would occur after the collapse button (.admin-toolbar__expand-button) rather than between the 'Help' and 'username' links as it does now. So should I add the padding to the bottom of the .admin-toolbar__footer or to the 'username' link?
Working on this as a novice to become more familiar with contributing. Thank you for any feedback/advise/criticisms.
Comment #9
rsnydI have made the small change as I understood it. Please let me know if it needs any updates.
Comment #10
rsnydComment #11
finnsky commentedThank you for you work here.
I found that this problem a bit deeper than it seems from first view. Added few comments. Not sure yet what to do with this
Comment #12
smustgrave commentedBased on the comment sounds like this still needs investigation?
Should novice tag be removed?
Comment #13
jvbrian commentedReplace the margin-block-end style with padding-bottom and apply it to the .admin-toolbar__footer rule, instead of the current .admin-toolbar__footer > .toolbar-block:last-of-type. A space will appear, but beneath the button that toggles the child items.