@@ -20,28 +20,6 @@ export default class Tag extends Vue
@Prop() tagName?: string
@Ref() readonly el!: HTMLDivElement
-
- clickTag(e: MouseEvent): void
- {
- e.stopPropagation()
-
- const t = this.tagName ?? this.el.innerText
- const q: {[id: string]: string | null} = {tag: t}
-
- // Check if the currently selected post is in this tag
- const url_name = this.$route.query.post
- if (url_name)
- {
- const posts = staticMeta.posts.filter(it => it.url_name == url_name)
- if (posts && !posts[0].tags.includes(t))
- {
- // Doesn't include tag, remove post selection
- q.post = null
- }
- }
-
- pushQuery(q)
- }
}
diff --git a/src/views/Blog.vue b/src/views/Blog.vue
index f7510b5..9b198b8 100644
--- a/src/views/Blog.vue
+++ b/src/views/Blog.vue
@@ -71,7 +71,7 @@ $width: 600px
#Blog
width: $width
- margin: 20px auto
+ margin: 50px auto 20px
#breadcrumb
color: $color-text-light
@@ -86,6 +86,10 @@ $width: 600px
// Phone layout
@media screen and (max-width: $width + 40px)
#Blog
- margin: 10px
+ margin: 20px 10px
width: unset
+
+ #breadcrumb
+ margin-left: 50px
+