From f46edf0470284cdd5cce01bcff050c8ed4cb385d Mon Sep 17 00:00:00 2001 From: Ben Floyd Date: Mon, 5 May 2025 17:19:40 -0600 Subject: [PATCH] adjust positioning --- src/components/CalendarComponent.ts | 2 +- styles.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/CalendarComponent.ts b/src/components/CalendarComponent.ts index 9b085f3..f3dc56f 100644 --- a/src/components/CalendarComponent.ts +++ b/src/components/CalendarComponent.ts @@ -72,7 +72,7 @@ export class CalendarComponent { // I don't like these here, but moving them to styles.css caused breaks this.component.style.position = 'absolute'; this.component.style.zIndex = '1000'; - this.component.style.top = '32px'; + this.component.style.top = '5px'; // Account for scrollbar this.component.style.right = '16px'; diff --git a/styles.css b/styles.css index 95936f6..81cceb6 100644 --- a/styles.css +++ b/styles.css @@ -113,7 +113,7 @@ .stream-calendar-component { position: absolute; - top: 32px; + top: -18px; right: 16px; z-index: 1000; font-size: 12px; @@ -125,7 +125,7 @@ /* Mobile-specific positioning for the calendar component */ .is-mobile .stream-calendar-component { position: absolute; - top: 32px; + top: -18px; right: 12px; z-index: 1000; font-size: 12px;