refactor(web): responsive images on content size, throttle AutoUpdatingCameraImage

This commit is contained in:
Paul Armstrong
2021-01-26 16:18:45 -08:00
committed by Blake Blackshear
parent 75a01f657e
commit 2ec921593e
6 changed files with 127 additions and 82 deletions

View File

@@ -26,7 +26,7 @@ export default function App() {
<Config.Provider value={config}>
<div className="md:flex flex-col md:flex-row md:min-h-screen w-full bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white">
<Sidebar />
<div className="p-4 min-w-0">
<div className="flex-auto p-4 lg:pl-8 lg:pr-8 min-w-0">
<Router>
<CameraMap path="/cameras/:camera/editor" />
<Camera path="/cameras/:camera" />
@@ -39,5 +39,4 @@ export default function App() {
</div>
</Config.Provider>
);
return;
}