summaryrefslogtreecommitdiffstats
path: root/jquery/sass/_sm-dox.scss
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-05-30 09:42:06 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-05-30 09:42:06 (GMT)
commit74b8e42b85cda8927e14511fba8b83f85b6ff2c9 (patch)
tree7ff89e17a28b279a82d7a4e489f5d2fd740a71b1 /jquery/sass/_sm-dox.scss
parentda0a6b42c349bc06b2804a4b0e8f55c7690f5cf9 (diff)
downloadDoxygen-74b8e42b85cda8927e14511fba8b83f85b6ff2c9.zip
Doxygen-74b8e42b85cda8927e14511fba8b83f85b6ff2c9.tar.gz
Doxygen-74b8e42b85cda8927e14511fba8b83f85b6ff2c9.tar.bz2
Improved responsive design of dynamic menus
When DISABLE_INDEX=NO and HTML_DYNAMIC_MENUS=YES (both defaults) then on screens with a width smaller than 768 pixels, the menu will collapse into a bar with just a hamburger button and the search field. Also the search result window now stays within the limited of the screen.
Diffstat (limited to 'jquery/sass/_sm-dox.scss')
-rw-r--r--jquery/sass/_sm-dox.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/jquery/sass/_sm-dox.scss b/jquery/sass/_sm-dox.scss
index 81a4e74..e1db779 100644
--- a/jquery/sass/_sm-dox.scss
+++ b/jquery/sass/_sm-dox.scss
@@ -217,6 +217,10 @@ $sm-dox__toggle-spacing: floor($sm-dox__main-row-height * 0.1);
background: $sm-dox__collapsible-toggle-bg;
@include border-radius($sm-dox__border-radius);
}
+ & span.sub-arrow:before {
+ display: block;
+ content: '+';
+ }
// Change + to - on sub menu expand
&.highlighted span.sub-arrow:before {
display: block;