refactor(ui): dont default force-underline action links in header and section components
This commit is contained in:
parent
03d378fb57
commit
387651e5fa
|
@ -43,7 +43,7 @@ const { style, ...fallthroughProps } = useAttrs()
|
|||
<!-- 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"
|
||||
thin-font min-content align-self="baseline"
|
||||
v-bind="{...fallthroughProps, ...action}"
|
||||
>
|
||||
{{ action?.text }}
|
||||
|
|
|
@ -50,7 +50,7 @@ const headerGrid =
|
|||
<Spacer grow />
|
||||
<!-- Action! You can either specify `to` or `onClick`. -->
|
||||
<component v-if="action" :is="'onClick' in action ? actionComponents.Button : actionComponents.Link"
|
||||
ghost force-underline thin-font min-content align-self="baseline"
|
||||
ghost thin-font min-content align-self="baseline"
|
||||
:style="`margin-right: ${('primary' in props || 'secondary' in props || 'destructive' in props) ? '0px' : '-16px'}`"
|
||||
v-bind="{...fallthroughProps, ...action}"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue