Skip to content

armgit / core

Public Imported from GitHub
0

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

UI updates: - position period selector correctly

Vincent998dc6d91c8a
diff --git a/ui/component/or-attribute-card/src/index.ts b/ui/component/or-attribute-card/src/index.ts
index 526d93c08..7db05bdb6 100644
--- a/ui/component/or-attribute-card/src/index.ts
+++ b/ui/component/or-attribute-card/src/index.ts
@@ -26,6 +26,9 @@ const style = css`
display: none;
}
+ .panel {
+ position: relative;
+ }
.panel.panel-empty {
display: flex;
}
@@ -116,8 +119,8 @@ const style = css`
.period-selector {
position: absolute;
- right: 8px;
- bottom: 17px;
+ right: -16px;
+ bottom: 0;
}
.delta {