Skip to content

Commit

Permalink
refa: move styles to sfc
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Nov 9, 2022
1 parent 511a91e commit a35002d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 9 additions & 0 deletions src/client/theme-default/components/VPBadge.vue
Expand Up @@ -24,6 +24,15 @@ defineProps<{
transform: translateY(-2px);
}
h1 .VPBadge,
h2 .VPBadge,
h3 .VPBadge,
h4 .VPBadge,
h5 .VPBadge,
h6 .VPBadge {
vertical-align: top;
}
h2 .VPBadge {
border-radius: 11px;
line-height: 20px;
Expand Down
9 changes: 0 additions & 9 deletions src/client/theme-default/styles/components/vp-doc.css
Expand Up @@ -477,15 +477,6 @@
opacity: 0;
}

.vp-doc h1 .VPBadge,
.vp-doc h2 .VPBadge,
.vp-doc h3 .VPBadge,
.vp-doc h4 .VPBadge,
.vp-doc h5 .VPBadge,
.vp-doc h6 .VPBadge {
vertical-align: top;
}

/**
* Component: Team
* -------------------------------------------------------------------------- */
Expand Down

0 comments on commit a35002d

Please sign in to comment.