diff --git a/firebird-ng/src/app/pages/main-display/main-display.component.html b/firebird-ng/src/app/pages/main-display/main-display.component.html
index 8985bc8..2625ffa 100644
--- a/firebird-ng/src/app/pages/main-display/main-display.component.html
+++ b/firebird-ng/src/app/pages/main-display/main-display.component.html
@@ -23,13 +23,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/firebird-ng/src/app/pages/main-display/main-display.component.scss b/firebird-ng/src/app/pages/main-display/main-display.component.scss
index 79a2361..a7a0b24 100644
--- a/firebird-ng/src/app/pages/main-display/main-display.component.scss
+++ b/firebird-ng/src/app/pages/main-display/main-display.component.scss
@@ -15,6 +15,8 @@
display: flex;
height: 100vh;
flex-direction: row;
+ padding-top: 65px;
+ margin-top: -65px;
}
.sidebar {
@@ -24,6 +26,14 @@
box-sizing: border-box;
overflow: auto;
height: 100vh;
+ padding-top: 65px;
+ margin-top: -65px;
+}
+
+#eventDisplay {
+ // height: auto;
+ padding-top: 65px;
+ margin-top: -120px;
}
.box {
@@ -57,7 +67,7 @@
}
.full-width {
- flex-basis: 100%;
+ // flex-basis: 100%;
}
.toggle-btn {
diff --git a/firebird-ng/src/app/pages/main-display/main-display.component.ts b/firebird-ng/src/app/pages/main-display/main-display.component.ts
index f8bcc12..a0dd69d 100644
--- a/firebird-ng/src/app/pages/main-display/main-display.component.ts
+++ b/firebird-ng/src/app/pages/main-display/main-display.component.ts
@@ -513,6 +513,7 @@ export class MainDisplayComponent implements OnInit {
const headerHeight = document?.getElementById('main-top-navbar')?.offsetHeight ?? 0;
const footerHeight = document?.getElementById('bottom-controls')?.offsetHeight ?? 0;
const sidePanelWidth = document?.getElementById('side-panel')?.offsetWidth ?? 0;
+
const adjustedWidth = rendererElement.offsetWidth - sidePanelWidth;
const adjustedHeight = rendererElement.offsetHeight - headerHeight - footerHeight;