This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
<script setup>
|
||||
import NoteContainer from './NoteContainer.vue';
|
||||
|
||||
const emitter = useEmitter();
|
||||
|
||||
function hideSearch(){
|
||||
emitter.emit("hide-search-container");
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="content" v-on:click="hideSearch">
|
||||
<NoteContainer></NoteContainer>
|
||||
<div class="content">
|
||||
<NoteContainer>
|
||||
|
||||
</NoteContainer>
|
||||
<!-- PowerMod -->
|
||||
</div>
|
||||
</template>
|
||||
@@ -18,6 +15,7 @@ function hideSearch(){
|
||||
<style scoped>
|
||||
.content {
|
||||
flex-grow: 1;
|
||||
min-width: 0; /* 👈 important */
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user