Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d797a50
Layout blockGap: Try using classnames to support block-level gap in t…
andrewserong May 6, 2022
cbb8787
Ensure blockGap controls are not exposed in global styles when experi…
andrewserong Jun 27, 2022
7efc0e3
Fix linting issue
andrewserong Jun 28, 2022
5b5739f
Implement fallback behaviour in site editor where default flex gap is…
andrewserong Jun 28, 2022
ba675a3
Remove connection to wp-block-styles so that fallback flex layout sty…
andrewserong Jul 7, 2022
eb6c662
Update resolver class to add an empty blockGap placeholder for a bloc…
andrewserong Jul 8, 2022
fb8dcec
Layout blockGap: Try using classnames to support block-level gap in t…
andrewserong May 6, 2022
67f3e8c
Reuse most of the logic from #39926
tellthemachines Jun 29, 2022
0565553
Don't accept string values
tellthemachines Jun 30, 2022
e1de656
Apply root padding only on blocks with content width
tellthemachines Jul 1, 2022
138e01e
Apply linting changes
tellthemachines Jul 1, 2022
62b20c3
Fix rebase error
tellthemachines Jul 4, 2022
2c53db4
Actually fix rebase
tellthemachines Jul 4, 2022
c0757b1
Add global padding toggle to layout-less blocks
tellthemachines Jul 4, 2022
f746943
Support custom block padding.
tellthemachines Jul 5, 2022
691cf2b
Output alignfull styles only when needed.
tellthemachines Jul 7, 2022
2bca1b4
Toggle should only appear when needed.
tellthemachines Jul 7, 2022
753c53f
Add context to comments about string value support
tellthemachines Jul 8, 2022
2b89413
Interpret preset padding value for negative margin
tellthemachines Jul 11, 2022
f18cdfd
Don't show toggle on blocks without content size.
tellthemachines Jul 11, 2022
69e8386
Change setting name.
tellthemachines Jul 11, 2022
4447f2a
Improve preset processing logic
tellthemachines Jul 11, 2022
f9cb709
Reset padding when no content size applies.
tellthemachines Jul 11, 2022
924d1ed
Update style engine class to match trunk
tellthemachines Jul 12, 2022
3057e07
Fix string check
tellthemachines Jul 12, 2022
10a06d5
Fix preset values in the editor.
tellthemachines Jul 12, 2022
74f1ca9
Fix string check
tellthemachines Jul 12, 2022
c496bb2
Remove useGlobalPadding attribute
tellthemachines Jul 13, 2022
5f724b3
Replace padding with spacing in function parameter
tellthemachines Jul 13, 2022
494d1bf
Default root padding setting to false.
tellthemachines Jul 13, 2022
f69add9
Dodgy fix for Cover block
tellthemachines Jul 13, 2022
ddf259e
Add test for get_styles_for_block function
tellthemachines Jul 14, 2022
9327a4b
Check for padding setting before adding classname.
tellthemachines Jul 14, 2022
a092eb3
Don't output vars if setting is off
tellthemachines Jul 15, 2022
c4e5fc1
Test default output without setting enabled.
tellthemachines Jul 15, 2022
d1c79b8
Update lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php
tellthemachines Jul 15, 2022
e614403
Remove empty line.
tellthemachines Jul 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove empty line.
  • Loading branch information
tellthemachines committed Jul 15, 2022
commit e6144038a1006c0b94a3e652a0950a936e4147a8
1 change: 0 additions & 1 deletion lib/block-supports/layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ function gutenberg_get_layout_style( $selector, $layout, $has_block_gap_support
$block_spacing_values = gutenberg_style_engine_get_block_supports_styles(
array(
'spacing' => $block_spacing,

)
);

Expand Down