Merge pull request #204 from z3rog/develop
feat: expand NoteAbstractItem click area
This commit is contained in:
commit
5e05d2ed65
@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div
|
||||
class="abstract-item">
|
||||
class="abstract-item"
|
||||
@click.self="$router.push(item.path)">
|
||||
<i v-if="item.frontmatter.sticky" class="iconfont reco-sticky"></i>
|
||||
<div class="title">
|
||||
<i v-if="item.frontmatter.keys" class="iconfont reco-lock"></i>
|
||||
@ -36,6 +37,7 @@ export default {
|
||||
box-sizing: border-box;
|
||||
transition all .3s
|
||||
background-color var(--background-color)
|
||||
cursor: pointer
|
||||
.reco-sticky
|
||||
position absolute
|
||||
top 0
|
||||
|
@ -25,7 +25,7 @@
|
||||
:key="subIndex"
|
||||
class="tag-item"
|
||||
:class="{ 'active': currentTag == subItem }"
|
||||
@click="goTags(subItem)">{{subItem}}</span>
|
||||
@click.stop="goTags(subItem)">{{subItem}}</span>
|
||||
</i>
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user