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 authored and brc-dd committed Nov 30, 2022
1 parent fe2e4a3 commit 6529cb1
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 6529cb1

Please sign in to comment.