Skip to content

Commit 4919d6f

Browse files
committed
fix: remove unnecessary tick and fix aspect ratio
1 parent bff1505 commit 4919d6f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/components/Package/Versions.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ async function openDistributionModal() {
2828
hasDistributionModalTransitioned.value = false
2929
// ensure the component renders before opening the dialog
3030
await nextTick()
31-
await nextTick()
3231
chartModal.open()
3332
3433
// Fallback: Force mount if transition event doesn't fire
@@ -813,7 +812,7 @@ function getTagVersions(tag: string): VersionDisplay[] {
813812
<!-- Avoids CLS when the dialog has transitioned -->
814813
<div
815814
v-if="!hasDistributionModalTransitioned"
816-
class="w-full aspect-[287/612] sm:aspect-[718/512]"
815+
class="w-full aspect-[136/391] sm:aspect-[359/278]"
817816
/>
818817
</PackageChartModal>
819818
</template>

0 commit comments

Comments
 (0)