File tree 1 file changed +4
-6
lines changed
frontend/src/routes/_oh.app._index
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -78,20 +78,18 @@ function FileViewer() {
78
78
< div className = "flex h-full bg-base-secondary relative" >
79
79
< FileExplorer isOpen = { fileExplorerIsOpen } onToggle = { toggleFileExplorer } />
80
80
< div className = "w-full h-full flex flex-col" >
81
- { selectedPath && (
82
- < div className = "flex w-full items-center justify-between self-end p-2" >
83
- < span className = "text-sm text-neutral-500" > { selectedPath } </ span >
84
- </ div >
85
- ) }
86
81
{ selectedPath && files [ selectedPath ] && (
87
- < div className = "p-4 flex-1 overflow-auto" >
82
+ < div className = "h-full w-full overflow-auto" >
88
83
< SyntaxHighlighter
89
84
language = { getLanguageFromPath ( selectedPath ) }
90
85
style = { vscDarkPlus }
91
86
customStyle = { {
92
87
margin : 0 ,
88
+ padding : "10px" ,
89
+ height : "100%" ,
93
90
background : "#171717" ,
94
91
fontSize : "0.875rem" ,
92
+ borderRadius : 0 ,
95
93
} }
96
94
>
97
95
{ files [ selectedPath ] }
You can’t perform that action at this time.
0 commit comments