refactor(ui): replaced naive ui cards with custom ones

This commit is contained in:
Corentin Thomasset authored and Corentin THOMASSET committed 2023-04-20 20:57:38 +02:00
1 parent bb32513bd3
commit f080933d2a
40 files changed
+351 -303

No files matched your search

@@ -1,12 +1,12 @@
<template>
<n-card v-if="editor" class="editor">
<template #header>
<menu-bar class="editor-header" :editor="editor" />
<n-divider style="margin-top: 0" />
</template>
<c-card v-if="editor" important:p0>
<menu-bar class="editor-header" :editor="editor" />
<n-divider style="margin-top: 0" />
<editor-content class="editor-content" :editor="editor" />
</n-card>
<div px8 pb6>
<editor-content class="editor-content" :editor="editor" />
</div>
</c-card>
</template>
<script setup lang="ts">
@@ -34,10 +34,6 @@ tryOnBeforeUnmount(() => {
</script>
<style scoped lang="less">
::v-deep(.n-card-header) {
padding: 0;
}
::v-deep(.ProseMirror-focused) {
outline: none;
}