fix(ui): Revert header negative margin removal
This commit is contained in:
parent
fe93c1eaf9
commit
97ff6c56aa
|
@ -42,6 +42,7 @@ const { style, ...fallthroughProps } = useAttrs()
|
|||
<Spacer grow />
|
||||
<!-- Action! You can either specify `to` or `onClick`. -->
|
||||
<component v-if="action" :is="'onClick' in action ? actionComponents.Button : actionComponents.Link"
|
||||
:style="`margin-right: ${('primary' in props || 'secondary' in props || 'destructive' in props) ? '0px' : '-16px'}`"
|
||||
force-underline thin-font min-content align-self="baseline"
|
||||
v-bind="{...fallthroughProps, ...action}"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue