mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-04 21:37:11 -04:00
refactor(ui): replaced naive ui cards with custom ones
This commit is contained in:
parent
bb32513bd3
commit
f080933d2a
40 changed files with 351 additions and 303 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue