face: adjust top matter rename size

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/953/head
Varun Patil 2023-11-26 18:12:31 -08:00
parent 40bcc0e09a
commit 1ea70750bf
1 changed files with 13 additions and 5 deletions

View File

@ -7,7 +7,11 @@
</NcActionButton>
</NcActions>
<div class="name" :class="{ rename: isReal }" @click="rename">{{ displayName }}</div>
<div class="name">
<div :class="{ rename: isReal }" @click="rename">
{{ displayName }}
</div>
</div>
<div class="right-actions">
<NcActions :inline="0">
@ -155,11 +159,15 @@ export default defineComponent({
<style scoped lang="scss">
.face-top-matter {
.name.rename:hover {
.name > .rename {
cursor: text;
display: inline-block;
&:hover {
text-decoration: underline;
text-decoration-color: var(--color-placeholder-light);
text-underline-offset: 5px;
}
}
}
</style>