Skip to content

Commit

Permalink
Alert box overlapping table of contents menu in wikis publiclab#9727 (p…
Browse files Browse the repository at this point in the history
…ubliclab#9729)

* Alert box overlapping table of contents menu in wikis publiclab#9727

* Update _header.html.erb
  • Loading branch information
darrylpoh authored and reginaalyssa committed Oct 16, 2021
1 parent 146e36b commit b29514a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/assets/stylesheets/wiki.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ a.navbar-offset {
overflow: auto;
line-height: 2;
border: 1px solid #e1e4e8;
z-index: 1000;
}

.js-toc > .toc-list {
margin-top: 20px;
}

.toc-list {
Expand Down
2 changes: 1 addition & 1 deletion app/views/wiki/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</span>
<details class="d-inline-flex flex-column position-relative">
<summary id="toc-menu" class="btn btn-light" role="button" aria-label="Table of Contents" aria-haspopup="menu"><i class="fa fa-list-ul" aria-hidden="true"></i></summary>
<span class="js-toc position-absolute shadow p-0 pt-4 rounded" role="menu"></span>
<span class="js-toc position-absolute shadow p-0 rounded" role="menu"></span>
</details>
</div>
</div>
Expand Down

0 comments on commit b29514a

Please sign in to comment.