From 9440108849daed782df6576c10e8253590f11247 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Fri, 11 Feb 2022 08:26:19 +0900 Subject: [PATCH] Tweak stories --- .../line-height-control/stories/index.js | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/packages/block-editor/src/components/line-height-control/stories/index.js b/packages/block-editor/src/components/line-height-control/stories/index.js index 45e9d4df28fb12..aabbd439bff421 100644 --- a/packages/block-editor/src/components/line-height-control/stories/index.js +++ b/packages/block-editor/src/components/line-height-control/stories/index.js @@ -16,22 +16,20 @@ export default { const Template = ( props ) => { const [ value, setValue ] = useState(); return ( - <> - -
-

value: { value }

-

type: { typeof value }

- + ); }; export const Default = Template.bind( {} ); Default.args = { - __nextHasNoMarginBottom: false, + __nextHasNoMarginBottom: true, + __unstableInputWidth: '60px', +}; + +export const UnconstrainedWidth = Template.bind( {} ); +UnconstrainedWidth.args = { + ...Default.args, + __unstableInputWidth: '100%', }; // TODO: Remove before merge