Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Addes temp mobile style for or-asset-viewer

robindekkerse327c8d18d12
diff --git a/ui/component/or-asset-viewer/src/style.ts b/ui/component/or-asset-viewer/src/style.ts
index dff77cf33..99ddea0e6 100644
--- a/ui/component/or-asset-viewer/src/style.ts
+++ b/ui/component/or-asset-viewer/src/style.ts
@@ -141,5 +141,17 @@ export const style = css`
align-items: center;
text-align: center;
height: 100%;
- }
+ }
+
+ /* TODO move this to mobilePanelStyle */
+ @media screen and (max-width: 768px) {
+ .panel,
+ #asset-header {
+ grid-area: auto!important;
+ }
+
+ #container {
+ grid-template-columns: 1fr!important;
+ }
+ }
`;
\ No newline at end of file