fix: hide page actions when not applicable
This commit is contained in:
@@ -210,6 +210,8 @@ export default {
|
||||
this.$store.commit('page/SET_TAGS', this.tags)
|
||||
this.$store.commit('page/SET_TITLE', this.title)
|
||||
this.$store.commit('page/SET_UPDATED_AT', this.updatedAt)
|
||||
|
||||
this.$store.commit('page/SET_MODE', 'view')
|
||||
},
|
||||
mounted () {
|
||||
Prism.highlightAllUnder(this.$refs.container)
|
||||
|
@@ -88,9 +88,9 @@
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: rgba(mc('pink', '500'), .1);
|
||||
background-color: rgba(mc('indigo', '50'), 1);
|
||||
padding: 0 5px;
|
||||
color: mc('pink', '800');
|
||||
color: mc('indigo', '800');
|
||||
font-family: 'Source Code Pro', monospace;
|
||||
font-weight: normal;
|
||||
font-size: 1rem;
|
||||
|
Reference in New Issue
Block a user