Skip to content

Commit

Permalink
fix: StoryResponsivePreview full height
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobyrr committed Apr 5, 2024
1 parent 8ce6cd7 commit fb5e2df
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ const sizeTooltip = computed(() => (responsiveWidth.value ?? 'Auto') + ' × ' +
class="htw-overflow-hidden htw-bg-white dark:htw-bg-gray-700 htw-rounded-lg htw-relative"
:class="isResponsiveEnabled ? {
'htw-w-fit': !!finalWidth,
'htw-h-fit': !!finalHeight
} : undefined"
'htw-h-fit': !!finalHeight,
'htw-h-full': !finalHeight
} : 'htw-h-full'"
>
<div
class="bind-preview-bg htw-rounded-lg htw-h-full"
Expand Down

0 comments on commit fb5e2df

Please sign in to comment.