Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
fix: just a workaround for title style
Browse files Browse the repository at this point in the history
  • Loading branch information
Gem Xli committed Mar 3, 2021
1 parent 4e49b3e commit 0aa403b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions client/pages/post/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,21 @@ export default defineComponent({
.title {
&:before,
&:after {
content: '\}';
font-weight: 700;
position: relative;
@apply text-blue-500;
}
// !fixme https://github.com/windicss/vite-plugin-windicss/issues/63
// &:before {
// content: '{';
// }
// {} would lead a bug, so use 「」 instead
&:before {
top: -5px;
content: '';
}
&:after {
content: '';
bottom: -7px;
}
}
</style>

0 comments on commit 0aa403b

Please sign in to comment.