File tree 4 files changed +11
-9
lines changed
4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -196,15 +196,17 @@ const GithubUrlRenderL: FC<{
196
196
const ref = splitString [ 0 ]
197
197
const path = ref ? splitString . slice ( 1 ) . join ( '/' ) : afterTypeString
198
198
return (
199
- < >
200
- < MLink href = { href } > { href } </ MLink >
199
+ < div className = "flex w-full flex-col items-center" >
201
200
< EmbedGithubFile
202
201
owner = { owner }
203
202
repo = { repo }
204
203
path = { path }
205
204
refType = { ref }
206
205
/>
207
- </ >
206
+ < div className = "mt-4" >
207
+ < MLink href = { href } > { href } </ MLink >
208
+ </ div >
209
+ </ div >
208
210
)
209
211
}
210
212
}
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export const EmbedGithubFile = memo(
107
107
if ( ! data ) return null
108
108
109
109
return (
110
- < div className = "h-[50vh] overflow-auto" >
110
+ < div className = "h-[50vh] w-full overflow-auto" >
111
111
< HighLighter content = { data } lang = { fileType } />
112
112
</ div >
113
113
)
Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ body {
21
21
* ::-webkit-scrollbar-thumb ,
22
22
* ::-webkit-scrollbar-thumb : hover {
23
23
background-color : transparent;
24
- border : 3px solid theme (colors.base-100 );
24
+ border : 3px solid theme (colors.zinc.200/20 );
25
25
border-radius : 5px ;
26
26
}
27
27
28
28
* ::-webkit-scrollbar {
29
29
width : 5px !important ;
30
30
height : 5px !important ;
31
- background : theme (colors.base- 100);
31
+ background : theme (colors.zinc. 100);
32
32
}
33
33
34
34
* ::-webkit-scrollbar-thumb {
40
40
}
41
41
42
42
* ::-webkit-scrollbar-corner {
43
- background : theme (colors.base- 100);
43
+ background : theme (colors.zinc. 100);
44
44
}
Original file line number Diff line number Diff line change 25
25
}
26
26
27
27
::selection {
28
- background-color : var (--theme-color );
29
- color : theme (colors.always.white);
28
+ background-color : var (--theme-color ) !important ;
29
+ color : theme (colors.always.white) !important ;
30
30
text-shadow : none;
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments