Skip to content

Commit

Permalink
Make header docs dropdown fully visible at all widths (#250)
Browse files Browse the repository at this point in the history
From viewport widths less than ~1300px down to the breakpoint at 1024px
when the TOC is removed and accessed via the burger icon the Docs
drop-down menu is partly off-screen because of the increased width.

Aligning dropdowns to the left prevents part of the docs dropdown from
disappearing off the left of the viewport.
  • Loading branch information
recrwplay authored Aug 14, 2024
1 parent c5f2ace commit f207f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ body {
border-radius: 0 0 0.25rem 0.25rem;
display: none;
top: 100%;
right: 0;
left: 0;
min-width: 100%;
position: absolute;
}
Expand Down

0 comments on commit f207f8d

Please sign in to comment.