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
CSS fix for when mdc-select searchable is on top (#904)
Martin Peetersc9df8ed778a5
diff --git a/ui/component/or-mwc-components/src/or-mwc-input.ts b/ui/component/or-mwc-components/src/or-mwc-input.tsindex 4f77e5822..5d25506a4 100644--- a/ui/component/or-mwc-components/src/or-mwc-input.ts+++ b/ui/component/or-mwc-components/src/or-mwc-input.ts@@ -514,7 +514,7 @@ const style = css`#select-searchable {background-color: transparent;border: 1px solid var(--or-app-color5, ${unsafeCSS(DefaultColor5)});- margin: 8px 8px 0;+ margin: 8px;width: calc(100% - 16px);border-radius: 4px;padding: 4px 16px;@@ -601,13 +601,15 @@ const style = css`.mdc-select__selected-text {white-space: normal;}-+.mdc-menu__searchable {overflow: hidden;- flex-direction: column;+ flex-direction: column-reverse;+ display: flex;}-+.mdc-menu__searchable.mdc-menu-surface--is-open-below {+ flex-direction: column;display: flex;}`;