Skip to content

Commit

Permalink
style: 设置 SVG 图片样式
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwumm committed Apr 26, 2024
1 parent 8467adf commit b219fc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ logs
.env
.env.*
!.env.example

.vercel
4 changes: 2 additions & 2 deletions src/components/UColorModeSvg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const isDark = colorMode.preference === 'dark'

<style>
.nuxt-icon svg {
width: auto;
height: auto;
width: auto !important;
height: auto !important;
margin-bottom: 0;
}
</style>

0 comments on commit b219fc9

Please sign in to comment.