Skip to content

Commit

Permalink
style: enhance layout and border styling in CodemirrorEditor.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
dribble-njr committed Jan 9, 2025
1 parent eb64576 commit f11c31c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/CodemirrorEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ onMounted(() => {
@end-copy="endCopy"
/>
<main class="container-main flex flex-1 flex-col">
<div class="container-main-section relative flex flex-1 overflow-hidden">
<div class="container-main-section relative flex flex-1 overflow-hidden border-1 border-t-0">
<PostSlider />
<div
ref="codeMirrorWrapper"
Expand Down Expand Up @@ -420,7 +420,7 @@ onMounted(() => {
class="preview-wrapper flex-1 p-5"
>
<div id="output-wrapper" :class="{ output_night: !backLight }">
<div class="preview border shadow-xl">
<div class="preview border-x-1 shadow-xl">
<section id="output" v-html="output" />
<div v-if="isCoping" class="loading-mask">
<div class="loading-mask-box">
Expand All @@ -434,7 +434,7 @@ onMounted(() => {
<CssEditor class="order-2 flex-1" />
<RightSlider class="order-2" />
</div>
<footer class="h-[24px] flex items-center justify-end pr-5 text-[12px]">
<footer class="h-[30px] flex items-center justify-end pr-5 text-[12px]">
字数 {{ readingTime?.words }}, 阅读大约需 {{ Math.ceil(readingTime?.minutes ?? 0) }} 分钟
</footer>

Expand Down

0 comments on commit f11c31c

Please sign in to comment.