diff --git a/packages/block-editor/src/components/block-list/block-mobile-floating-toolbar.native.scss b/packages/block-editor/src/components/block-list/block-mobile-floating-toolbar.native.scss index 0f64938c4beff..5b12591ec4436 100644 --- a/packages/block-editor/src/components/block-list/block-mobile-floating-toolbar.native.scss +++ b/packages/block-editor/src/components/block-list/block-mobile-floating-toolbar.native.scss @@ -1,3 +1,5 @@ +$floating-toolbar-height: 44; + .floatingToolbar { background-color: $dark-gray-500; margin: auto; diff --git a/packages/block-library/src/gallery/gallery-image-style.native.scss b/packages/block-library/src/gallery/gallery-image-style.native.scss index 07ab8cf39acc2..a953a1e8d6294 100644 --- a/packages/block-library/src/gallery/gallery-image-style.native.scss +++ b/packages/block-library/src/gallery/gallery-image-style.native.scss @@ -121,7 +121,6 @@ $get-caption-background-color: rgba(0, 0, 0, 0.4); background-color: #0000; color: #fff; font-family: $default-regular-font; - min-height: $min-height-paragraph; text-align: center; } diff --git a/packages/block-library/src/heading/edit.native.js b/packages/block-library/src/heading/edit.native.js index ac8a0e755278c..dcc0ca1e0291a 100644 --- a/packages/block-library/src/heading/edit.native.js +++ b/packages/block-library/src/heading/edit.native.js @@ -2,7 +2,6 @@ * Internal dependencies */ import HeadingToolbar from './heading-toolbar'; -import styles from './editor.scss'; /** * External dependencies @@ -38,10 +37,7 @@ const HeadingEdit = ( { identifier="content" tagName={ 'h' + attributes.level } value={ attributes.content } - style={ { - ...style, - minHeight: styles[ 'wp-block-heading' ].minHeight, - } } + style={ style } onChange={ ( value ) => setAttributes( { content: value } ) } onMerge={ mergeBlocks } onSplit={ ( value ) => { diff --git a/packages/block-library/src/heading/editor.native.scss b/packages/block-library/src/heading/editor.native.scss deleted file mode 100644 index 9518b3bdbacbb..0000000000000 --- a/packages/block-library/src/heading/editor.native.scss +++ /dev/null @@ -1,4 +0,0 @@ - -.wp-block-heading { - min-height: $min-height-heading; -} diff --git a/packages/block-library/src/heading/style.native.scss b/packages/block-library/src/heading/style.native.scss deleted file mode 100644 index f4801b92a6bc5..0000000000000 --- a/packages/block-library/src/heading/style.native.scss +++ /dev/null @@ -1,4 +0,0 @@ - -.blockText { - min-height: $min-height-heading; -} diff --git a/packages/block-library/src/paragraph/style.native.scss b/packages/block-library/src/paragraph/style.native.scss deleted file mode 100644 index 87d8ccedc8dc8..0000000000000 --- a/packages/block-library/src/paragraph/style.native.scss +++ /dev/null @@ -1,4 +0,0 @@ - -.blockText { - min-height: $min-height-paragraph; -} diff --git a/packages/editor/src/components/post-title/style.native.scss b/packages/editor/src/components/post-title/style.native.scss index 416cd4c0ec33b..375d423a6cffd 100644 --- a/packages/editor/src/components/post-title/style.native.scss +++ b/packages/editor/src/components/post-title/style.native.scss @@ -2,8 +2,8 @@ .titleContainer { padding-left: 16; padding-right: 16; - padding-top: $title-block-padding-top; - padding-bottom: $title-block-padding-bottom; + padding-top: 12; + padding-bottom: 12; margin-top: 24; } diff --git a/packages/rich-text/src/component/index.native.js b/packages/rich-text/src/component/index.native.js index 2e206e003dbb8..b3a7a4a8e0247 100644 --- a/packages/rich-text/src/component/index.native.js +++ b/packages/rich-text/src/component/index.native.js @@ -662,11 +662,6 @@ export class RichText extends Component { const record = this.getRecord(); const html = this.getHtmlToRender( record, tagName ); - let minHeight = styles.richText.minHeight; - if ( style && style.minHeight ) { - minHeight = style.minHeight; - } - const placeholderStyle = getStylesFromColorScheme( styles.richTextPlaceholder, styles.richTextPlaceholderDark ); const { @@ -742,7 +737,7 @@ export class RichText extends Component { } } style={ { ...style, - minHeight: Math.max( minHeight, this.state.height ), + minHeight: this.state.height, } } text={ { text: html, eventCount: this.lastEventCount, selection } } placeholder={ this.props.placeholder } diff --git a/packages/rich-text/src/component/style.native.scss b/packages/rich-text/src/component/style.native.scss index b6e72919a5994..fe95750413565 100644 --- a/packages/rich-text/src/component/style.native.scss +++ b/packages/rich-text/src/component/style.native.scss @@ -1,7 +1,6 @@ .richText { font-family: $default-regular-font; - min-height: $min-height-paragraph; color: $gray-900; text-decoration-color: $blue-500; }