Second commit
This commit is contained in:
26
frontend/app/components/viewer/content/Content.vue
Normal file
26
frontend/app/components/viewer/content/Content.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<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>
|
||||
<!-- PowerMod -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.content {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user