Skip to content

Commit

Permalink
Merge pull request #20511 from Remmirad/enable-tree-nav-resizeing
Browse files Browse the repository at this point in the history
doc: Allow resizing of doxygen side-nav
  • Loading branch information
benpicco authored Mar 27, 2024
2 parents 42b68a5 + 084c42c commit 1b4f45f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/doxygen/src/js/riot-doxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ function resize_content(sidenav)

function resize_handler()
{
if ($(window).width() == window_before) {return;}

var sidenav = $("#side-nav");
if ($(window).width() < 750) {
var toc = $(".toc");
Expand Down

0 comments on commit 1b4f45f

Please sign in to comment.