File tree 6 files changed +7
-8
lines changed
6 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export const HeaderDrawerButton = () => {
48
48
49
49
< Dialog . Content >
50
50
< motion . dialog
51
- className = "fixed bottom-0 left-0 right-0 top-6 z-[12] flex max-h-[100vh] min-h-0 items-center justify-center overflow-auto rounded-xl bg-base-100/90"
51
+ className = "fixed left-0 right-0 top-0 z-[12] block overflow-auto rounded-xl bg-base-100/90"
52
52
initial = { { opacity : 0.8 } }
53
53
animate = { { opacity : 1 } }
54
54
exit = { { opacity : 0 } }
Original file line number Diff line number Diff line change @@ -14,11 +14,10 @@ export const HeaderDrawerContent = () => {
14
14
const { config } = useHeaderConfig ( )
15
15
16
16
return (
17
- < div className = "mt-20 w-[90vw] space-y-4 overflow-auto pb-8 scrollbar-none" >
17
+ < div className = "mt-12 max-h-screen w-[90vw] space-y-4 overflow-auto pb-8 scrollbar-none" >
18
18
{ config . map ( ( section , index ) => {
19
19
return (
20
20
< motion . section
21
- className = { index === 0 ? 'mt-8' : undefined }
22
21
initial = { { y : 30 , opacity : 0 } }
23
22
animate = { { y : 0 , opacity : 1 } }
24
23
transition = { {
Original file line number Diff line number Diff line change 2
2
@apply relative flex w-full flex-col overflow-auto;
3
3
4
4
pre > code {
5
- @apply block bg-base-100 font-mono text-[14px ] font-medium;
5
+ @apply block font-mono text-[14px ] font-medium;
6
+
7
+ background : transparent !important ;
6
8
}
7
9
}
8
10
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export const HighLighter: FC<Props> = (props) => {
46
46
}
47
47
48
48
prevThemeCSS . current = css
49
- } , [ theme , isPrintMode ] )
49
+ } , [ theme , isPrintMode , systemTheme ] )
50
50
useInsertionEffect ( ( ) => {
51
51
loadStyleSheet (
52
52
'https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/prism/1.23.0/plugins/line-numbers/prism-line-numbers.min.css' ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const FormInput = (props: { fieldKey: FormKey; required?: boolean }) => {
43
43
const FormWithUserInfo = ( ) => {
44
44
return (
45
45
< form className = "flex flex-col space-y-4" >
46
- < div className = "flex space-x-4 " >
46
+ < div className = "flex flex-col space-x-0 space-y-4 md:flex-row md:space-x-4 md:space-y-0 " >
47
47
< FormInput fieldKey = "author" required />
48
48
< FormInput fieldKey = "mail" required />
49
49
< FormInput fieldKey = "url" />
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { useRouter } from 'next/navigation'
5
5
import type { FC } from 'react'
6
6
7
7
import { MdiClockTimeThreeOutline } from '~/components/icons/clock'
8
- import { Divider } from '~/components/ui/divider'
9
8
import { OnlyMobile } from '~/components/ui/viewport/OnlyMobile'
10
9
import { routeBuilder , Routes } from '~/lib/route-builder'
11
10
import { useCurrentNoteDataSelector } from '~/providers/note/CurrentNoteDataProvider'
@@ -34,7 +33,6 @@ export const NoteFooterNavigation: FC<{ noteId: string }> = ({
34
33
{ /* // 没有 0 的情况 */ }
35
34
{ ( ! ! prevNid || ! ! nextNid ) && (
36
35
< >
37
- < Divider className = "!w-15 m-auto" />
38
36
< section className = "relative mt-4 py-2 text-center" data-hide-print >
39
37
< div className = "flex items-center justify-between [&>*]:inline-flex [&>*]:items-center [&>*]:space-x-2 [&>*]:px-2 [&>*]:py-2" >
40
38
{ ! ! nextNid && (
You can’t perform that action at this time.
0 commit comments