Skip to content

Commit

Permalink
fix(web): image style in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilfish committed Aug 5, 2024
1 parent b808de8 commit fcaaf6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/ui/src/MainImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ $width: 7rem;
img {
min-width: $width !important;
border-radius: 4px;
height: 100%;
width: 100%;
}
// &:not(.img-error) {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/post/Comments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ defineProps<{
<main-image
v-if="comment.img && !comment.img.includes('sinaurl')"
:src="comment.img"
class="h-10rem"
class="h-10rem justify-start!"
/>
</div>
</template>
Expand Down

0 comments on commit fcaaf6c

Please sign in to comment.