Skip to content

Commit

Permalink
fix: lastUpdated looks bad when editLinks is false.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed May 24, 2018
1 parent fdd46e0 commit 11b1830
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/default-theme/Page.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<template>
<div class="page">
<Content :custom="false"/>
<div class="content edit-link" v-if="editLink">
<a :href="editLink" target="_blank" rel="noopener noreferrer">{{ editLinkText }}</a>
<OutboundLink/>
<div class="content edit-link">
<template v-if="editLink">
<a :href="editLink" target="_blank" rel="noopener noreferrer">{{ editLinkText }}</a>
<OutboundLink/>
</template>
<div v-if="lastUpdated" class="last-updated">
<span class="prefix">{{ lastUpdatedText }}: </span>
<span class="time">{{ lastUpdated }}</span>
Expand Down Expand Up @@ -146,6 +148,7 @@ function find (page, items, offset) {
color lighten($textColor, 25%)
margin-right 0.25rem
.last-updated
margin-top: 0 !important
margin-bottom .5rem
float right
font-weight 500
Expand Down

0 comments on commit 11b1830

Please sign in to comment.