0
0
Fork 0

fix: refs #8304 update VnSubToolbar to correctly toggle full-width class based on actionsChildCount

This commit is contained in:
Jose Antonio Tubau 2025-01-24 11:45:54 +01:00
parent 5ec1d7d311
commit 74eb296285
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ onBeforeUnmount(() => stateStore.toggleSubToolbar() && hasSubToolbar);
class="full-width sticky" class="full-width sticky"
> >
<slot name="st-data"> <slot name="st-data">
<div id="st-data" :class="{ 'full-width': actionsChildCount }"></div> <div id="st-data" :class="{ 'full-width': !actionsChildCount() }">
</div>
</slot> </slot>
<QSpace /> <QSpace />
<slot name="st-actions"> <slot name="st-actions">