Skip to content

Commit

Permalink
修复描述tag错位的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
eeg1412 committed Sep 8, 2024
1 parent 85b6c49 commit ea6778c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions blog/components/TweetImgList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
/>

<div
class="absolute tweet-img-list-body-item-description"
:class="`absolute tweet-img-list-body-item-description index-${indexChild}`"
v-if="img.description"
v-show="videoPlayId !== img._id"
>
Expand Down Expand Up @@ -270,7 +270,7 @@
/>

<div
class="absolute tweet-img-list-body-item-description"
:class="`absolute tweet-img-list-body-item-description index-${indexChild}`"
v-if="img.description"
v-show="videoPlayId !== img._id"
>
Expand Down Expand Up @@ -531,7 +531,7 @@ onUnmounted(() => {})
height: 100%;
}
.blog-tweet-img-list-body.cover-count-2
.tweet-img-list-body-item-description:nth-of-type(2) {
.tweet-img-list-body-item-description.index-1 {
left: calc(50% + 12px);
}
.blog-tweet-img-list-body.cover-count-3 {
Expand All @@ -541,11 +541,11 @@ onUnmounted(() => {})
height: 100%;
}
.blog-tweet-img-list-body.cover-count-3
.tweet-img-list-body-item-description:nth-of-type(2) {
.tweet-img-list-body-item-description.index-1 {
left: calc(50% + 12px);
}
.blog-tweet-img-list-body.cover-count-3
.tweet-img-list-body-item-description:nth-of-type(3) {
.tweet-img-list-body-item-description.index-2 {
left: calc(50% + 12px);
top: calc(50% + 6px);
}
Expand All @@ -571,16 +571,16 @@ onUnmounted(() => {})
height: 100%;
}
.blog-tweet-img-list-body.cover-count-4
.tweet-img-list-body-item-description:nth-of-type(2) {
.tweet-img-list-body-item-description.index-1 {
left: calc(50% + 12px);
}
.blog-tweet-img-list-body.cover-count-4
.tweet-img-list-body-item-description:nth-of-type(3) {
.tweet-img-list-body-item-description.index-2 {
left: 12px;
top: calc(50% + 6px);
}
.blog-tweet-img-list-body.cover-count-4
.tweet-img-list-body-item-description:nth-of-type(4) {
.tweet-img-list-body-item-description.index-3 {
left: calc(50% + 12px);
top: calc(50% + 6px);
}
Expand Down

0 comments on commit ea6778c

Please sign in to comment.