Skip to content

Commit 11b1830

Browse files
committed
fix: lastUpdated looks bad when editLinks is false.
1 parent fdd46e0 commit 11b1830

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/default-theme/Page.vue

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<template>
22
<div class="page">
33
<Content :custom="false"/>
4-
<div class="content edit-link" v-if="editLink">
5-
<a :href="editLink" target="_blank" rel="noopener noreferrer">{{ editLinkText }}</a>
6-
<OutboundLink/>
4+
<div class="content edit-link">
5+
<template v-if="editLink">
6+
<a :href="editLink" target="_blank" rel="noopener noreferrer">{{ editLinkText }}</a>
7+
<OutboundLink/>
8+
</template>
79
<div v-if="lastUpdated" class="last-updated">
810
<span class="prefix">{{ lastUpdatedText }}: </span>
911
<span class="time">{{ lastUpdated }}</span>
@@ -146,6 +148,7 @@ function find (page, items, offset) {
146148
color lighten($textColor, 25%)
147149
margin-right 0.25rem
148150
.last-updated
151+
margin-top: 0 !important
149152
margin-bottom .5rem
150153
float right
151154
font-weight 500

0 commit comments

Comments
 (0)