-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a vertical style to the Buttons block
- Loading branch information
nfmohit-wpmudev
committed
Mar 16, 2020
1 parent
e8b5c2e
commit e45ebb6
Showing
3 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
.wp-block-buttons .wp-block-button { | ||
display: inline-block; | ||
margin: $grid-unit-05; | ||
} | ||
.wp-block-buttons.aligncenter { | ||
text-align: center; | ||
.wp-block-buttons { | ||
|
||
&.aligncenter { | ||
text-align: center; | ||
} | ||
|
||
.wp-block-button { | ||
display: inline-block; | ||
margin: $grid-unit-05; | ||
} | ||
|
||
&.is-style-vertical .wp-block-button { | ||
display: block; | ||
} | ||
} |