Skip to content

Commit

Permalink
Fixed toggle button positioning.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed Jun 15, 2024
1 parent d765f5f commit 6f182fe
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/app/(main)/reports/[reportId]/ReportMenu.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}

0 comments on commit 6f182fe

Please sign in to comment.