markdown and textarea input

This commit is contained in:
josc146
2023-05-19 15:40:17 +08:00
parent 1105fbf6ec
commit db61d3f7f9
8 changed files with 1201 additions and 44 deletions

View File

@@ -47,7 +47,9 @@ const App: FC = observer(() => {
useEffect(() => setPath(location.pathname), [location]);
return (
<FluentProvider theme={commonStore.settings.darkMode ? webDarkTheme : webLightTheme} className="h-screen">
<FluentProvider className="h-screen"
theme={commonStore.settings.darkMode ? webDarkTheme : webLightTheme}
data-theme={commonStore.settings.darkMode ? 'dark' : 'light'}>
<div className="flex h-full">
<div className="flex flex-col w-16 sm:w-48 p-2 justify-between">
<TabList