Skip to content

Commit

Permalink
fix: prevent from styling highlighted code, closes #13
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jun 1, 2019
1 parent a81a2ed commit edea9bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/saber-theme-portfolio/src/layouts/post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
<div class="page-content">
<slot name="default" />
</div>
<div v-if="page.tags" class="tags">
<div v-if="page.tags" class="post-tags">
<saber-link
v-for="tag in page.tags"
:key="tag.permalink"
:to="tag.permalink"
class="tag"
class="post-tag"
>
<HashIcon />
{{ tag.name }}
</saber-link>
</div>
<Disqus
v-if="page.attributes.comments !== false && $themeConfig.disqus"
class="comment"
class="post-comments"
:url="$siteConfig.url"
:permalink="page.attributes.permalink"
:shortname="$themeConfig.disqus"
Expand Down Expand Up @@ -122,13 +122,13 @@ export default {
margin-top: 30px;
}
.tags {
.post-tags {
display: flex;
margin-top: 60px;
font-size: 0.9rem;
}
.tag {
.post-tag {
display: flex;
align-items: center;
border: 1px solid var(--border-color);
Expand All @@ -149,7 +149,7 @@ export default {
}
}
.comment {
.post-comments {
margin-top: 60px;
}
</style>

0 comments on commit edea9bd

Please sign in to comment.