diff --git a/src/stories/components/label-value/LabelValue.stories.ts b/src/stories/components/label-value/LabelValue.stories.ts index b33459ccb..609f6cf59 100644 --- a/src/stories/components/label-value/LabelValue.stories.ts +++ b/src/stories/components/label-value/LabelValue.stories.ts @@ -15,12 +15,7 @@ const meta = { title: 'Components/Label Value', render: args => { const cssVarArgs = getCssVariableArgs(args); - const style = cssVarArgs ? styleMap(cssVarArgs) : nothing; - - if (args.ellipsis) { - style['width'] = '100px'; - } - + const style = styleMap({ ...cssVarArgs, width: args.ellipsis ? '100px' : null }); return html`