From 6f182fe5a029732ce0ab6a0253978e4d66f3d51c Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Sat, 15 Jun 2024 02:53:23 -0700 Subject: [PATCH] Fixed toggle button positioning. --- .../(main)/reports/[reportId]/ReportMenu.module.css | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/app/(main)/reports/[reportId]/ReportMenu.module.css b/src/app/(main)/reports/[reportId]/ReportMenu.module.css index 82d7fcb09e..eb41b768ff 100644 --- a/src/app/(main)/reports/[reportId]/ReportMenu.module.css +++ b/src/app/(main)/reports/[reportId]/ReportMenu.module.css @@ -8,17 +8,17 @@ } .button { + position: absolute; + right: 0; display: flex; place-content: center; border: 1px solid var(--base400); border-right: 0; width: 30px; padding: 5px; - right: 0; - position: absolute; cursor: pointer; - z-index: 1; border-radius: 4px 0 0 4px; + z-index: 1; } .button:hover { @@ -31,8 +31,6 @@ } .menu.collapsed .button { - left: 1px; - border-left: 0; - border-right: 1px solid var(--base300); - border-radius: 0 4px 4px 0; + right: 0; + border-radius: 4px 0 0 4px; }