Skip to content

Commit

Permalink
Fixed truncated dropdown menu (#1138)
Browse files Browse the repository at this point in the history
* removing padding-right from discord button in nav

* fixing dropdown menu on contributing page for sub-articles

* Revert "fixing dropdown menu on contributing page for sub-articles"

This reverts commit 2d158dd.

* fixing dropdown menu on contributing page for sub-articles

* Revert "removing padding-right from discord button in nav"

This reverts commit e664293.

* lint fix

* fixing dropdown menu for mobile screen

* Update pydis_site/static/css/content/page.css

Co-authored-by: wookie184 <wookie1840@gmail.com>

---------

Co-authored-by: wookie184 <wookie1840@gmail.com>
  • Loading branch information
sarzz2 and wookie184 authored Jan 6, 2024
1 parent a2d6103 commit 0487c51
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pydis_site/static/css/content/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
#edit-on-github {
display: none;
}

.dropdown-menu {
left: unset;
right: 0;
}
}

i.has-icon-padding {
Expand Down Expand Up @@ -96,3 +101,12 @@ ul.menu-list.toc {
li img {
margin-top: 0.5em;
}

.dropdown-menu {
min-width: 15rem;
}

a.dropdown-item {
white-space: normal;
padding-right: 0;
}

0 comments on commit 0487c51

Please sign in to comment.