mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
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:
parent
60393d7530
commit
69f083dcf1
@ -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} />
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user