Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions projects/plugins/jetpack/changelog/fix-jetpack-button-height
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: other

Jetpack button: prevent vertical stretch
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@include align-block;
max-width: 100%;
width: fit-content;
height: fit-content; // Since .wp-block-button__link has a 100% height, this prevents the button from matching its container's height.
margin: 0;

&.is-style-outline > .wp-block-button__link {
Expand Down
Loading