flex-grow instead of flex-1

This commit is contained in:
2023-05-17 05:27:59 +02:00
parent 41c0ed5811
commit e11438c952
7 changed files with 11 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ const emit = defineEmits<{
<template>
<li class="flex flex-row">
<a
class="flex-1 items-center px-2 py-1"
class="flex-grow items-center px-2 py-1"
@click.stop.prevent="() => emit('goToNote')"
@mousedown.prevent
:class="{
@@ -28,7 +28,7 @@ const emit = defineEmits<{
>
current
</span>
<span class="flex-1">{{ result.title }}</span>
<span class="flex-grow">{{ result.title }}</span>
<span>{{ formatDate(result.modified) }}</span>
</a>
</li>