Skip to content

Commit

Permalink
Hard code the top panel's position instead of calculating it for some…
Browse files Browse the repository at this point in the history
… reason (#57)
  • Loading branch information
Spencer14420 authored Nov 15, 2024
1 parent 5e34100 commit d01dd00
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions dist/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ h3 {
display: flex;
align-items: center;
z-index: 1;
padding-top: 82px;
background-image: url(https://ik.imagekit.io/capanda/tr:w-1920,q-85/capanda.ca/server-room);
background-size: contain;
background-repeat: no-repeat;
Expand Down
5 changes: 0 additions & 5 deletions src/classes/PanelManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,5 @@ export class PanelManager {
this.setPanelMargins();
this.setNavbarVisibility();
this.positionScrollPoints();

const topPanel = document.querySelector(".top-panel") as HTMLElement | null;
if (topPanel) {
topPanel.style.paddingTop = `${this.headerHeight}px`;
}
}
}

0 comments on commit d01dd00

Please sign in to comment.