Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Enable large size in Typography panels
  • Loading branch information
mirka committed Nov 4, 2021
commit 2ea6c8e49bcc6f5a83499751c72ff0df41f2d956
1 change: 1 addition & 0 deletions packages/block-editor/src/hooks/line-height.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export function LineHeightEdit( props ) {
};
return (
<LineHeightControl
__unstableSize="large"
value={ style?.typography?.lineHeight }
onChange={ onChange }
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export const TypographyPanel = () => {
isShownByDefault={ true }
>
<LineHeightControl
__unstableSize="large"
value={ lineHeight }
onChange={ setLineHeight }
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export default function TypographyPanel( { name } ) {
) }
{ hasLineHeightEnabled && (
<LineHeightControl
__unstableSize="large"
value={ lineHeight }
onChange={ setLineHeight }
/>
Expand Down