Skip to content

Commit c56e87d

Browse files
authored
Merge pull request #372 from vuejs-jp/fix/namecard-background-image
fix: ネームカードの背景画像のz-indexを修正
2 parents dc1383a + 8387542 commit c56e87d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/ui/components/namecard/OgCard24.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ onMounted(() => {
6565
6666
.og-card-background {
6767
position: absolute;
68-
z-index: -1;
68+
z-index: 1;
6969
left: 0;
7070
top: 0;
7171
vertical-align: top;
@@ -82,6 +82,7 @@ onMounted(() => {
8282
align-items: center;
8383
gap: 0.875rem;
8484
font-size: 1.25rem;
85+
z-index: 2;
8586
img {
8687
height: 100%;
8788
}
@@ -97,6 +98,7 @@ onMounted(() => {
9798
.og-card-avatar {
9899
display: grid;
99100
place-items: center;
101+
z-index: 2;
100102
}
101103
102104
.og-card-avatar-logo-wrapper {
@@ -153,7 +155,7 @@ onMounted(() => {
153155
154156
.og-card-sponsor {
155157
position: absolute;
156-
z-index: 1;
158+
z-index: 2;
157159
right: 0;
158160
bottom: 1.25rem;
159161
width: 13.75rem;

0 commit comments

Comments
 (0)