Add client.css to astro build
All threads resolved!
All threads resolved!
Closes #3509357
Two parts to this MR
- the addition of client.css to the Astro Hydration public directory that sets <astro-slot><astro-island> to be display: contents;. This is then included in the libraries.yml
- Changes to the calculation of
- border outlines around components, regions, slots in the overlay - now they are based on child elements of the <astro-*>
- stack direction calculation (used to show either vertical or horizontal lines when dragging in grid/flex based slots) now finds the parent of the <astro-slot>
In 2.1 and 2.2, the code actually looks for display: contents; not the <astro-x> tagName which should be more robust.
Spotted an issue to address in a follow up
https://www.drupal.org/project/experience_builder/issues/3521034
Edited by Jesse Baker
Merge request reports
Activity
requested review from @balintbrews
assigned to @jessebaker
- Resolved by Jesse Baker
- Resolved by Jesse Baker
added 1 commit
- f079bbfe - Refactor several functions to better take into consideration astro-* elements
- Resolved by Lee Rowlands
added 22 commits
-
f079bbfe...53f87c7b - 20 commits from branch
project:0.x
- d82bf629 - Merge branch '0.x' into 3509357-astro-css
- ea91318b - rename css, added header property to library yml
-
f079bbfe...53f87c7b - 20 commits from branch
added 8 commits
-
ea91318b...f0415535 - 7 commits from branch
project:0.x
- 5d049908 - Merge branch '0.x' into 3509357-astro-css
-
ea91318b...f0415535 - 7 commits from branch
added 14 commits
-
7aa99354...50ad4391 - 13 commits from branch
project:0.x
- c30cddae - Merge branch '0.x' into 3509357-astro-css
-
7aa99354...50ad4391 - 13 commits from branch
added 4 commits
-
c30cddae...f915dd8c - 3 commits from branch
project:0.x
- 7937a2b7 - Merge branch '0.x' into 3509357-astro-css
-
c30cddae...f915dd8c - 3 commits from branch
Please register or sign in to reply