revert appbar draworder

the event thumbnail renders over AppBar in events page... tried a bunch of things, counlt work around it...

with this revert, the "More Options" tooltip for AppBar menu is broken again
This commit is contained in:
spacebares 2023-06-30 13:21:29 -04:00
parent 60393d7530
commit 69f083dcf1
2 changed files with 2 additions and 2 deletions

View File

@ -18,6 +18,7 @@ export default function App() {
<DrawerProvider> <DrawerProvider>
<ViewModeProvider> <ViewModeProvider>
<div data-testid="app" className="w-full"> <div data-testid="app" className="w-full">
<AppBar />
{!config ? ( {!config ? (
<div className="flex flex-grow-1 min-h-screen justify-center items-center"> <div className="flex flex-grow-1 min-h-screen justify-center items-center">
<ActivityIndicator /> <ActivityIndicator />
@ -25,7 +26,6 @@ export default function App() {
) : ( ) : (
<div className="flex flex-row min-h-screen w-full bg-white dark:bg-gray-900 text-gray-900 dark:text-white"> <div className="flex flex-row min-h-screen w-full bg-white dark:bg-gray-900 text-gray-900 dark:text-white">
<Sidebar /> <Sidebar />
<AppBar />
<div className="w-full flex-auto mt-16 min-w-0"> <div className="w-full flex-auto mt-16 min-w-0">
<Router> <Router>
<AsyncRoute path="/cameras/:camera/editor" getComponent={Routes.getCameraMap} /> <AsyncRoute path="/cameras/:camera/editor" getComponent={Routes.getCameraMap} />

View File

@ -38,7 +38,7 @@ export default function AppBar({ title: Title, overflowRef, onOverflowClick }) {
return ( return (
<div <div
id="appbar" id="appbar"
className={`w-full border-b border-gray-200 dark:border-gray-700 flex items-center align-middle p-2 fixed left-0 right-0 bg-white dark:bg-gray-900 transform transition-all duration-200 ${ className={`w-full border-b border-gray-200 dark:border-gray-700 flex items-center align-middle p-2 fixed left-0 right-0 z-10 bg-white dark:bg-gray-900 transform transition-all duration-200 ${
!show ? '-translate-y-full' : 'translate-y-0' !show ? '-translate-y-full' : 'translate-y-0'
} ${!atZero ? 'shadow-sm' : ''}`} } ${!atZero ? 'shadow-sm' : ''}`}
data-testid="appbar" data-testid="appbar"