From 905b55ae7f4da977c76798f5e25dc8fbe67f4938 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 28 Aug 2024 16:24:37 -0400 Subject: [PATCH] doxygen: do not zoom out of tutorial graph This requires scrolling left/right but fixes the unusable click targets. fixes #17600 --- doc/doxygen/doxygen-awesome.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/doxygen/doxygen-awesome.css b/doc/doxygen/doxygen-awesome.css index a2715e268c..6b34e1de84 100644 --- a/doc/doxygen/doxygen-awesome.css +++ b/doc/doxygen/doxygen-awesome.css @@ -2005,6 +2005,16 @@ hr { overflow: auto; } +/** + We are not allowed to change the size of graphs made with dot, because + imagemaps (which we use for tutorial dependencies for example) can not + be scaled. So, if you remove the following rule, you can no longer click + on tutorials. +*/ +.contents .dotgraph img { + max-width: none; +} + @media screen and (max-width: 767px) { .contents .dyncontent > .center, .contents > center { margin-left: calc(0px - var(--spacing-large)); -- 2.39.5