Skip to content

Commit

Permalink
style: refine border and footer layout
Browse files Browse the repository at this point in the history
  • Loading branch information
dribble-njr committed Jan 9, 2025
1 parent 8041617 commit a2b1918
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/CodemirrorEditor/EditorHeader/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function copy() {
</script>

<template>
<header class="header-container h-15 flex items-center justify-between border-b px-5">
<header class="header-container h-15 flex items-center justify-between px-5">
<div class="space-x-2 flex">
<Menubar class="menubar">
<FileDropdown />
Expand Down
4 changes: 2 additions & 2 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 border-1 border-t-0">
<div class="container-main-section border-radius-10 relative flex flex-1 overflow-hidden border-1">
<PostSlider />
<div
ref="codeMirrorWrapper"
Expand Down Expand Up @@ -434,7 +434,7 @@ onMounted(() => {
<CssEditor class="order-2 flex-1" />
<RightSlider class="order-2" />
</div>
<footer class="h-[30px] flex items-center justify-end pr-5 text-[12px]">
<footer class="h-[30px] flex items-center justify-end text-[12px]">
字数 {{ readingTime?.words }}, 阅读大约需 {{ Math.ceil(readingTime?.minutes ?? 0) }} 分钟
</footer>

Expand Down

0 comments on commit a2b1918

Please sign in to comment.