]> https://gitweb.dealii.org/ - dealii.git/commitdiff
doxygen: do not zoom out of tutorial graph 17630/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 28 Aug 2024 20:24:37 +0000 (16:24 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 28 Aug 2024 20:25:29 +0000 (16:25 -0400)
This requires scrolling left/right but fixes the unusable click targets.

fixes #17600

doc/doxygen/doxygen-awesome.css

index a2715e268c5532e94abf3d4a2591395932438e22..6b34e1de84777113c8b997ea712e15e2e9207691 100644 (file)
@@ -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));

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.