Problem/Motivation
Currently, CSS Grid Layout is supported by all browsers and allows more freedom in layouts.
In the current sidebar we use conditions and cascades for what CSS Grid Layout does out of the box.
Also usage of block margin not recommended by BEM:
https://en.bem.info/methodology/css/#external-geometry-and-positioning
It is job of parent block.
In MR I added CSS Grid for the content of the sidebar and toolbar block.
I also removed unnecessary margin paddings at the opening and closing. There is no need for them at all.
No or minimal visual changes. The code is much simpler.
Issue fork navigation-3397952
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 #3
finnsky commentedComment #4
finnsky commentedComment #6
ckrinaThanks Ivan! It makes a lot of sense. Merging it.