Commit e533437
committed
Block Supports: Ensure custom CSS prints after block library styles.
The `wp-block-custom-css` handle depended only on `global-styles`, which pulled `global-styles` forward in the print order, ahead of `wp-block-library`. Block library default styles then printed last and overrode global styles.
Declare `wp-block-library` before `global-styles` in the handle's dependency array so `wp-block-library` prints first and `global-styles` keeps winning the cascade.
Developed in: WordPress#12461
Follow-up to [61678], [62656].
Props ramonopoly, westonruter, wildworks.
Fixes #65602.
git-svn-id: https://develop.svn.wordpress.org/trunk@62706 602fd350-edb4-49c9-b593-d223f7449a821 parent 0d59cc4 commit e533437
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments