Skip to content

Commit

Permalink
feat: reading time should be after the location
Browse files Browse the repository at this point in the history
  • Loading branch information
Octobug committed Nov 15, 2023
1 parent b921765 commit 4c82dd1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .vitepress/theme/components/PostHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
<span :class="$style.elementItem">
{{ moment(post.date).format("LL") }}
</span>
<Dot />
<span :class="$style.elementItem">
{{ post.readingTime }}
</span>
<Dot v-if="post.location" />
<span
v-if="post.location"
:class="$style.elementItem"
>
{{ post.location }}
</span>
<Dot />
<span :class="$style.elementItem">
{{ post.readingTime }}
</span>
</div>
</div>
</template>
Expand Down
10 changes: 5 additions & 5 deletions .vitepress/theme/components/ProfileExtra.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ const now = {
.extraitem svg {
float: left;
width: 12px;
margin-top: 5px;
margin-left: -20px;
margin-top: 5.2px;
margin-left: -18px;
}
.timezone {
font-size: 12.8px;
}
.timezone svg {
width: 11px;
margin-left: -19.4px;
margin-top: 6px;
width: 10.8px;
margin-top: 6.2px;
margin-left: -17.5px;
}
</style>

0 comments on commit 4c82dd1

Please sign in to comment.