Skip to content

Commit f3eaedc

Browse files
iiio2danielroe
andauthored
style: use logical properties (#917)
Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent ac1171a commit f3eaedc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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
@@ -491,7 +491,7 @@ defineOgImageComponent('Package', {
491491
<button
492492
type="button"
493493
@click="copyPkgName()"
494-
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 transition-all duration-150 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"
494+
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 transition-all duration-150 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"
495495
:class="
496496
copiedPkgName ? 'text-accent bg-accent/10' : 'text-fg-muted bg-bg border-border'
497497
"

0 commit comments

Comments
 (0)