Skip to content

Commit 4a0fa0c

Browse files
committed
Upd rollup og image
1 parent 232fa2f commit 4a0fa0c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

components/OgImage/RollupImage.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ const props = defineProps({
1717
const bgStyles = computed(() => {
1818
return {
1919
style: {
20-
position: "absolute",
21-
inset: "0",
2220
filter: "grayscale(1)",
2321
opacity: "0.05",
2422
},
@@ -27,8 +25,8 @@ const bgStyles = computed(() => {
2725
</script>
2826

2927
<template>
30-
<div class="w-full h-full" :style="{ background: '#111111', padding: '100px 120px', fontFamily: 'IBM+Plex+Mono' }">
31-
<img src="/img/bg.png" v-bind="bgStyles" />
28+
<div class="w-full h-full" :style="{ background: '#111111', padding: '100px', fontFamily: 'IBM+Plex+Mono', overflow: 'hidden' }">
29+
<img src="/img/bg.png" width="1200" height="600" class="absolute" v-bind="bgStyles" />
3230

3331
<div :style="{ height: '100%', display: 'flex', flexDirection: 'column', gap: '80px' }">
3432
<div :style="{ display: 'flex', alignItems: 'center' }">

0 commit comments

Comments
 (0)