summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/file
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/file')
-rw-r--r--wp-includes/blocks/file/editor-rtl.css3
-rw-r--r--wp-includes/blocks/file/editor-rtl.min.css2
-rw-r--r--wp-includes/blocks/file/editor.css3
-rw-r--r--wp-includes/blocks/file/editor.min.css2
4 files changed, 8 insertions, 2 deletions
diff --git a/wp-includes/blocks/file/editor-rtl.css b/wp-includes/blocks/file/editor-rtl.css
index a606f31..4a919a5 100644
--- a/wp-includes/blocks/file/editor-rtl.css
+++ b/wp-includes/blocks/file/editor-rtl.css
@@ -8,6 +8,9 @@
.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{
height:auto;
}
+.wp-block[data-align=center]>.wp-block-file{
+ text-align:center;
+}
.wp-block-file .components-resizable-box__container{
margin-bottom:1em;
}
diff --git a/wp-includes/blocks/file/editor-rtl.min.css b/wp-includes/blocks/file/editor-rtl.min.css
index cd00681..637eeed 100644
--- a/wp-includes/blocks/file/editor-rtl.min.css
+++ b/wp-includes/blocks/file/editor-rtl.min.css
@@ -1 +1 @@
-.wp-block-file{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{height:100%;margin-bottom:1em;width:100%}.wp-block-file .wp-block-file__preview-overlay{bottom:0;left:0;position:absolute;right:0;top:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file a:not(.wp-block-file__button){display:inline-block}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em} \ No newline at end of file
+.wp-block-file{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block[data-align=center]>.wp-block-file{text-align:center}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{height:100%;margin-bottom:1em;width:100%}.wp-block-file .wp-block-file__preview-overlay{bottom:0;left:0;position:absolute;right:0;top:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file a:not(.wp-block-file__button){display:inline-block}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em} \ No newline at end of file
diff --git a/wp-includes/blocks/file/editor.css b/wp-includes/blocks/file/editor.css
index 94638c0..90fb0e5 100644
--- a/wp-includes/blocks/file/editor.css
+++ b/wp-includes/blocks/file/editor.css
@@ -8,6 +8,9 @@
.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{
height:auto;
}
+.wp-block[data-align=center]>.wp-block-file{
+ text-align:center;
+}
.wp-block-file .components-resizable-box__container{
margin-bottom:1em;
}
diff --git a/wp-includes/blocks/file/editor.min.css b/wp-includes/blocks/file/editor.min.css
index df5ac14..307d747 100644
--- a/wp-includes/blocks/file/editor.min.css
+++ b/wp-includes/blocks/file/editor.min.css
@@ -1 +1 @@
-.wp-block-file{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{height:100%;margin-bottom:1em;width:100%}.wp-block-file .wp-block-file__preview-overlay{bottom:0;left:0;position:absolute;right:0;top:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file a:not(.wp-block-file__button){display:inline-block}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em} \ No newline at end of file
+.wp-block-file{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block[data-align=center]>.wp-block-file{text-align:center}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{height:100%;margin-bottom:1em;width:100%}.wp-block-file .wp-block-file__preview-overlay{bottom:0;left:0;position:absolute;right:0;top:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file a:not(.wp-block-file__button){display:inline-block}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em} \ No newline at end of file