Skip to content

Commit 42a5b68

Browse files
committed
style: use logical properties
1 parent 3b7c027 commit 42a5b68

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/components/OgImage/Default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const props = withDefaults(defineProps<Props>(), {
7474
</div>
7575

7676
<div
77-
class="absolute -top-32 -right-32 w-[550px] h-[550px] rounded-full blur-3xl"
77+
class="absolute -top-32 -inset-ie-32 w-[550px] h-[550px] rounded-full blur-3xl"
7878
:style="{ backgroundColor: props.primaryColor + '10' }"
7979
/>
8080
</div>

app/components/OgImage/Package.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const formattedStars = computed(() =>
116116
</div>
117117

118118
<div
119-
class="absolute -top-32 -right-32 w-[550px] h-[550px] rounded-full blur-3xl"
119+
class="absolute -top-32 -inset-ie-32 w-[550px] h-[550px] rounded-full blur-3xl"
120120
:style="{ backgroundColor: primaryColor + '10' }"
121121
/>
122122
</div>

app/pages/package/[...package].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ defineOgImageComponent('Package', {
492492
<button
493493
type="button"
494494
@click="copyPkgName()"
495-
class="copy-button absolute z-20 left-0 top-full inline-flex items-center gap-1 px-2 py-1 rounded border text-xs font-mono whitespace-nowrap text-fg-muted bg-bg border-border opacity-0 -translate-y-1 pointer-events-none group-hover:opacity-100 group-hover:translate-y-0 group-hover:pointer-events-auto focus-visible:opacity-100 focus-visible:translate-y-0 focus-visible:pointer-events-auto hover:text-fg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/40"
495+
class="copy-button absolute z-20 inset-is-0 top-full inline-flex items-center gap-1 px-2 py-1 rounded border text-xs font-mono whitespace-nowrap text-fg-muted bg-bg border-border opacity-0 -translate-y-1 pointer-events-none group-hover:opacity-100 group-hover:translate-y-0 group-hover:pointer-events-auto focus-visible:opacity-100 focus-visible:translate-y-0 focus-visible:pointer-events-auto hover:text-fg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/40"
496496
:aria-label="$t('package.copy_name')"
497497
>
498498
<span class="i-carbon:copy w-3.5 h-3.5" aria-hidden="true" />

0 commit comments

Comments
 (0)