summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/button
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wp-includes/blocks/button.php80
-rw-r--r--wp-includes/blocks/button/block.json1
-rw-r--r--wp-includes/blocks/button/editor-rtl.css31
-rw-r--r--wp-includes/blocks/button/editor-rtl.min.css2
-rw-r--r--wp-includes/blocks/button/editor.css31
-rw-r--r--wp-includes/blocks/button/editor.min.css2
-rw-r--r--wp-includes/blocks/button/style-rtl.css39
-rw-r--r--wp-includes/blocks/button/style-rtl.min.css2
-rw-r--r--wp-includes/blocks/button/style.css39
-rw-r--r--wp-includes/blocks/button/style.min.css2
10 files changed, 91 insertions, 138 deletions
diff --git a/wp-includes/blocks/button.php b/wp-includes/blocks/button.php
new file mode 100644
index 0000000..f272fa9
--- /dev/null
+++ b/wp-includes/blocks/button.php
@@ -0,0 +1,80 @@
+<?php
+/**
+ * Server-side rendering of the `core/button` block.
+ *
+ * @package WordPress
+ */
+
+/**
+ * Renders the `core/button` block on the server,
+ *
+ * @since 6.6.0
+ *
+ * @param array $attributes The block attributes.
+ * @param string $content The block content.
+ * @param WP_Block $block The block object.
+ *
+ * @return string The block content.
+ */
+function render_block_core_button( $attributes, $content ) {
+ $p = new WP_HTML_Tag_Processor( $content );
+
+ /*
+ * The button block can render an `<a>` or `<button>` and also has a
+ * `<div>` wrapper. Find the a or button tag.
+ */
+ $tag = null;
+ while ( $p->next_tag() ) {
+ $tag = $p->get_tag();
+ if ( 'A' === $tag || 'BUTTON' === $tag ) {
+ break;
+ }
+ }
+
+ /*
+ * If this happens, the likelihood is there's no block content,
+ * or the block has been modified by a plugin.
+ */
+ if ( null === $tag ) {
+ return $content;
+ }
+
+ // If the next token is the closing tag, the button is empty.
+ $is_empty = true;
+ while ( $p->next_token() && $tag !== $p->get_token_name() && $is_empty ) {
+ if ( '#comment' !== $p->get_token_type() ) {
+ /**
+ * Anything else implies this is not empty.
+ * This might include any text content (including a space),
+ * inline images or other HTML.
+ */
+ $is_empty = false;
+ }
+ }
+
+ /*
+ * When there's no text, render nothing for the block.
+ * See https://github.com/WordPress/gutenberg/issues/17221 for the
+ * reasoning behind this.
+ */
+ if ( $is_empty ) {
+ return '';
+ }
+
+ return $content;
+}
+
+/**
+ * Registers the `core/button` block on server.
+ *
+ * @since 6.6.0
+ */
+function register_block_core_button() {
+ register_block_type_from_metadata(
+ __DIR__ . '/button',
+ array(
+ 'render_callback' => 'render_block_core_button',
+ )
+ );
+}
+add_action( 'init', 'register_block_core_button' );
diff --git a/wp-includes/blocks/button/block.json b/wp-includes/blocks/button/block.json
index ec9f042..740f3e5 100644
--- a/wp-includes/blocks/button/block.json
+++ b/wp-includes/blocks/button/block.json
@@ -73,6 +73,7 @@
},
"supports": {
"anchor": true,
+ "splitting": true,
"align": false,
"alignWide": false,
"color": {
diff --git a/wp-includes/blocks/button/editor-rtl.css b/wp-includes/blocks/button/editor-rtl.css
index 71feb23..c1b7012 100644
--- a/wp-includes/blocks/button/editor-rtl.css
+++ b/wp-includes/blocks/button/editor-rtl.css
@@ -27,35 +27,4 @@ div[data-type="core/button"]{
.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{
text-decoration:inherit;
-}
-
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color){
- border-width:initial;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-color]){
- border-top-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-color]){
- border-left-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){
- border-bottom-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-color]){
- border-right-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-style]){
- border-width:initial;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-style]){
- border-top-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-style]){
- border-left-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){
- border-bottom-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-style]){
- border-right-width:medium;
} \ No newline at end of file
diff --git a/wp-includes/blocks/button/editor-rtl.min.css b/wp-includes/blocks/button/editor-rtl.min.css
index da7d296..0b7ff96 100644
--- a/wp-includes/blocks/button/editor-rtl.min.css
+++ b/wp-includes/blocks/button/editor-rtl.min.css
@@ -1 +1 @@
-.wp-block[data-align=center]>.wp-block-button{margin-left:auto;margin-right:auto;text-align:center}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{cursor:text;position:relative}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid #0000;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}div[data-type="core/button"]{display:table}.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color){border-width:initial}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-color]){border-top-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-color]){border-left-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){border-bottom-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-color]){border-right-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-style]){border-width:initial}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-style]){border-top-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-style]){border-left-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){border-bottom-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-style]){border-right-width:medium} \ No newline at end of file
+.wp-block[data-align=center]>.wp-block-button{margin-left:auto;margin-right:auto;text-align:center}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{cursor:text;position:relative}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid #0000;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}div[data-type="core/button"]{display:table}.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/button/editor.css b/wp-includes/blocks/button/editor.css
index 63dad57..c1b7012 100644
--- a/wp-includes/blocks/button/editor.css
+++ b/wp-includes/blocks/button/editor.css
@@ -27,35 +27,4 @@ div[data-type="core/button"]{
.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{
text-decoration:inherit;
-}
-
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color){
- border-width:initial;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-color]){
- border-top-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-color]){
- border-right-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){
- border-bottom-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-color]){
- border-left-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-style]){
- border-width:initial;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-style]){
- border-top-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-style]){
- border-right-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){
- border-bottom-width:medium;
-}
-.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-style]){
- border-left-width:medium;
} \ No newline at end of file
diff --git a/wp-includes/blocks/button/editor.min.css b/wp-includes/blocks/button/editor.min.css
index 2390917..37c30e3 100644
--- a/wp-includes/blocks/button/editor.min.css
+++ b/wp-includes/blocks/button/editor.min.css
@@ -1,2 +1,2 @@
.wp-block[data-align=center]>.wp-block-button{margin-left:auto;margin-right:auto;text-align:center}.wp-block[data-align=right]>.wp-block-button{
- /*!rtl:ignore*/text-align:right}.wp-block-button{cursor:text;position:relative}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid #0000;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}div[data-type="core/button"]{display:table}.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color){border-width:initial}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-color]){border-top-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-color]){border-right-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){border-bottom-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-color]){border-left-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-style]){border-width:initial}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-style]){border-top-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-style]){border-right-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){border-bottom-width:medium}.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-style]){border-left-width:medium} \ No newline at end of file
+ /*!rtl:ignore*/text-align:right}.wp-block-button{cursor:text;position:relative}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid #0000;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}div[data-type="core/button"]{display:table}.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit} \ No newline at end of file
diff --git a/wp-includes/blocks/button/style-rtl.css b/wp-includes/blocks/button/style-rtl.css
index d916925..007cfc4 100644
--- a/wp-includes/blocks/button/style-rtl.css
+++ b/wp-includes/blocks/button/style-rtl.css
@@ -64,47 +64,14 @@
border-radius:0 !important;
}
-.wp-block-button .wp-block-button__link:where(.is-style-outline),.wp-block-button:where(.is-style-outline)>.wp-block-button__link{
+:root :where(.wp-block-button .wp-block-button__link.is-style-outline),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link){
border:2px solid;
padding:.667em 1.333em;
}
-
-.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-text-color),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-text-color){
+:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color)){
color:currentColor;
}
-
-.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-background),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-background){
+:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background)){
background-color:initial;
background-image:none;
-}
-
-.wp-block-button .wp-block-button__link:where(.has-border-color){
- border-width:initial;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-top-color]){
- border-top-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-right-color]){
- border-left-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){
- border-bottom-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-left-color]){
- border-right-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-style]){
- border-width:initial;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-top-style]){
- border-top-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-right-style]){
- border-left-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){
- border-bottom-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-left-style]){
- border-right-width:medium;
} \ No newline at end of file
diff --git a/wp-includes/blocks/button/style-rtl.min.css b/wp-includes/blocks/button/style-rtl.min.css
index 590b89f..da03e95 100644
--- a/wp-includes/blocks/button/style-rtl.min.css
+++ b/wp-includes/blocks/button/style-rtl.min.css
@@ -1 +1 @@
-.wp-block-button__link{box-sizing:border-box;cursor:pointer;display:inline-block;text-align:center;word-break:break-word}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){border-radius:9999px;box-shadow:none;padding:calc(.667em + 2px) calc(1.333em + 2px);text-decoration:none}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.wp-block-button .wp-block-button__link:where(.is-style-outline),.wp-block-button:where(.is-style-outline)>.wp-block-button__link{border:2px solid;padding:.667em 1.333em}.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-text-color),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-text-color){color:currentColor}.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-background),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-background){background-color:initial;background-image:none}.wp-block-button .wp-block-button__link:where(.has-border-color){border-width:initial}.wp-block-button .wp-block-button__link:where([style*=border-top-color]){border-top-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-right-color]){border-left-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){border-bottom-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-left-color]){border-right-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-style]){border-width:initial}.wp-block-button .wp-block-button__link:where([style*=border-top-style]){border-top-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-right-style]){border-left-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){border-bottom-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-left-style]){border-right-width:medium} \ No newline at end of file
+.wp-block-button__link{box-sizing:border-box;cursor:pointer;display:inline-block;text-align:center;word-break:break-word}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){border-radius:9999px;box-shadow:none;padding:calc(.667em + 2px) calc(1.333em + 2px);text-decoration:none}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}:root :where(.wp-block-button .wp-block-button__link.is-style-outline),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link){border:2px solid;padding:.667em 1.333em}:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color)){color:currentColor}:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background)){background-color:initial;background-image:none} \ No newline at end of file
diff --git a/wp-includes/blocks/button/style.css b/wp-includes/blocks/button/style.css
index c05e649..007cfc4 100644
--- a/wp-includes/blocks/button/style.css
+++ b/wp-includes/blocks/button/style.css
@@ -64,47 +64,14 @@
border-radius:0 !important;
}
-.wp-block-button .wp-block-button__link:where(.is-style-outline),.wp-block-button:where(.is-style-outline)>.wp-block-button__link{
+:root :where(.wp-block-button .wp-block-button__link.is-style-outline),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link){
border:2px solid;
padding:.667em 1.333em;
}
-
-.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-text-color),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-text-color){
+:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color)){
color:currentColor;
}
-
-.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-background),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-background){
+:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background)){
background-color:initial;
background-image:none;
-}
-
-.wp-block-button .wp-block-button__link:where(.has-border-color){
- border-width:initial;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-top-color]){
- border-top-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-right-color]){
- border-right-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){
- border-bottom-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-left-color]){
- border-left-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-style]){
- border-width:initial;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-top-style]){
- border-top-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-right-style]){
- border-right-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){
- border-bottom-width:medium;
-}
-.wp-block-button .wp-block-button__link:where([style*=border-left-style]){
- border-left-width:medium;
} \ No newline at end of file
diff --git a/wp-includes/blocks/button/style.min.css b/wp-includes/blocks/button/style.min.css
index 086e515..da03e95 100644
--- a/wp-includes/blocks/button/style.min.css
+++ b/wp-includes/blocks/button/style.min.css
@@ -1 +1 @@
-.wp-block-button__link{box-sizing:border-box;cursor:pointer;display:inline-block;text-align:center;word-break:break-word}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){border-radius:9999px;box-shadow:none;padding:calc(.667em + 2px) calc(1.333em + 2px);text-decoration:none}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.wp-block-button .wp-block-button__link:where(.is-style-outline),.wp-block-button:where(.is-style-outline)>.wp-block-button__link{border:2px solid;padding:.667em 1.333em}.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-text-color),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-text-color){color:currentColor}.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-background),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-background){background-color:initial;background-image:none}.wp-block-button .wp-block-button__link:where(.has-border-color){border-width:initial}.wp-block-button .wp-block-button__link:where([style*=border-top-color]){border-top-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-right-color]){border-right-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){border-bottom-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-left-color]){border-left-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-style]){border-width:initial}.wp-block-button .wp-block-button__link:where([style*=border-top-style]){border-top-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-right-style]){border-right-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){border-bottom-width:medium}.wp-block-button .wp-block-button__link:where([style*=border-left-style]){border-left-width:medium} \ No newline at end of file
+.wp-block-button__link{box-sizing:border-box;cursor:pointer;display:inline-block;text-align:center;word-break:break-word}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){border-radius:9999px;box-shadow:none;padding:calc(.667em + 2px) calc(1.333em + 2px);text-decoration:none}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}:root :where(.wp-block-button .wp-block-button__link.is-style-outline),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link){border:2px solid;padding:.667em 1.333em}:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color)){color:currentColor}:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background)){background-color:initial;background-image:none} \ No newline at end of file