From a18914f84d5c7877b444a0680e1b8679b2be20ea Mon Sep 17 00:00:00 2001 From: Aki Hamano Date: Wed, 18 Dec 2024 17:20:03 +0900 Subject: [PATCH] DateFormatPicker: fix styles & spacing --- .../src/components/date-format-picker/index.js | 8 ++++++-- .../src/components/date-format-picker/style.scss | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/block-editor/src/components/date-format-picker/index.js b/packages/block-editor/src/components/date-format-picker/index.js index 719390a1d6f903..6854ee74a0162b 100644 --- a/packages/block-editor/src/components/date-format-picker/index.js +++ b/packages/block-editor/src/components/date-format-picker/index.js @@ -40,7 +40,11 @@ export default function DateFormatPicker( { onChange, } ) { return ( -
+ { __( 'Date format' ) } ) } -
+ ); } diff --git a/packages/block-editor/src/components/date-format-picker/style.scss b/packages/block-editor/src/components/date-format-picker/style.scss index 748e43bb8db94a..55f844a9ac887b 100644 --- a/packages/block-editor/src/components/date-format-picker/style.scss +++ b/packages/block-editor/src/components/date-format-picker/style.scss @@ -1,5 +1,7 @@ .block-editor-date-format-picker { - margin-bottom: $grid-unit-20; + margin: 0 0 $grid-unit-20; + padding: 0; + border: none; } .block-editor-date-format-picker__custom-format-select-control__custom-option {