Skip to content

armgit / core

Public Imported from GitHub
0

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

Fixed width on Edge

Michael Rademakerc219a44f0597
diff --git a/ui/component/or-timeline/src/index.ts b/ui/component/or-timeline/src/index.ts
index 6b5a859e2..dc6b24536 100644
--- a/ui/component/or-timeline/src/index.ts
+++ b/ui/component/or-timeline/src/index.ts
@@ -38,7 +38,7 @@ class OrTimeline extends LitElement {
box-sizing: border-box;
-webkit-appearance: none; /* Override default CSS styles */
appearance: none;
- width: calc(100% + 20px);
+ width: 102%; /* calc() has a bug in Edge which keeps miking the element wider */
margin-left: -10px;
height: 12px;
background: #bdbdbd; /* Grey background */