Skip to content

Commit

Permalink
fix: increase section block line-height in the editor
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloiankoski committed Jul 3, 2024
1 parent 3b6a275 commit 29f4c08
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {InnerBlocks, InspectorControls, RichText, store as blockEditorStore} fro
import {PanelBody, PanelRow, TextareaControl, TextControl} from '@wordpress/components';
import {useSelect} from '@wordpress/data';
import {BlockEditProps} from '@wordpress/blocks';
import {getBlockRegistrar} from "@givewp/form-builder/common/getWindowData";
import {getBlockRegistrar} from '@givewp/form-builder/common/getWindowData';

import BaseEmptyBlockInserter from './EmptyBlockInserter';
import './styles.scss';
Expand Down Expand Up @@ -44,7 +44,7 @@ export default function Edit(props: BlockEditProps<any>) {
tagName="h2"
value={title}
onChange={(val) => setAttributes({title: val})}
style={{margin: '0', fontSize: '22px', fontWeight: 700}}
style={{margin: '0', fontSize: '22px', fontWeight: 700, lineHeight: '1.6'}}
allowedFormats={[]}
/>
)}
Expand All @@ -53,7 +53,7 @@ export default function Edit(props: BlockEditProps<any>) {
tagName="p"
value={description}
onChange={(val) => setAttributes({description: val})}
style={{fontSize: '16px', fontWeight: 500}}
style={{fontSize: '16px', fontWeight: 500, marginTop: '0.25rem'}}
allowedFormats={[]}
/>
)}
Expand Down

0 comments on commit 29f4c08

Please sign in to comment.