flex-grow instead of flex-1
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user