100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
fix table responsiveness
Vincent76490de3559e
diff --git a/ui/component/or-asset-viewer/src/style.ts b/ui/component/or-asset-viewer/src/style.tsindex d0b7707f4..d15632cad 100644--- a/ui/component/or-asset-viewer/src/style.ts+++ b/ui/component/or-asset-viewer/src/style.ts@@ -45,6 +45,15 @@ export const style = css`-o-animation: fadein 0.3s; /* Opera < 12.1 */animation: fadein 0.3s;}++ @media only screen and (max-width: 767px) {+ #wrapper {+ position: absolute;+ left: 0;+ right: 0;+ }+ }+@keyframes fadein {from { opacity: 0; }diff --git a/ui/component/or-table/src/index.ts b/ui/component/or-table/src/index.tsindex 316af0b33..8c76be8b2 100644--- a/ui/component/or-table/src/index.ts+++ b/ui/component/or-table/src/index.ts@@ -15,19 +15,13 @@ interface TableOptions {// language=CSSconst style = css`- :host {- width: 100%;- }-:host([hidden]) {display: none;}.mdc-data-table {width: 100%;- max-width: 100%;max-height: 500px;- overflow: auto;}/* first column should be sticky*/