fix note title too wide

This commit is contained in:
2023-05-21 12:00:20 +02:00
parent 84725cd1c2
commit b7c38a8b2a
3 changed files with 7 additions and 7 deletions

View File

@@ -8,10 +8,8 @@ const emit = defineEmits<{
}>()
</script>
<template>
<div class="mb-2 flex items-center">
<h1
class="mr-2 flex flex-grow items-center rounded-md pr-2 text-3xl font-semibold hover:bg-gray-200"
>
<div class="mb-2 flex items-center space-x-2">
<h1 class="flex flex-grow items-center rounded-md text-3xl font-semibold hover:bg-gray-200">
<slot name="title"></slot>
</h1>
<div class="btn-group flex items-center" v-if="!props.note.isRoot">