You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2020/08/01 23:47:30 UTC
[freemarker-docgen] branch master updated: Fixed ToC spacing on
mobile
This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/freemarker-docgen.git
The following commit(s) were added to refs/heads/master by this push:
new b6088db Fixed ToC spacing on mobile
b6088db is described below
commit b6088db5690e3db404f148ef6ef411de223087d5
Author: ddekany <dd...@apache.org>
AuthorDate: Sun Aug 2 01:46:59 2020 +0200
Fixed ToC spacing on mobile
---
.../org/freemarker/docgen/core/less/lib/components/page-menu.less | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/freemarker-docgen-core/src/main/resources-gulp/org/freemarker/docgen/core/less/lib/components/page-menu.less b/freemarker-docgen-core/src/main/resources-gulp/org/freemarker/docgen/core/less/lib/components/page-menu.less
index 7b55231..e86f846 100644
--- a/freemarker-docgen-core/src/main/resources-gulp/org/freemarker/docgen/core/less/lib/components/page-menu.less
+++ b/freemarker-docgen-core/src/main/resources-gulp/org/freemarker/docgen/core/less/lib/components/page-menu.less
@@ -40,10 +40,14 @@
ul {
margin: 0 0 0 18px;
padding: 0;
+ }
- line-height: 2.5;
+ li {
+ margin-top: 1em;
+ margin-bottom: 1em;
@media (min-width: @screen-xs-min) {
- line-height: 1.5;
+ margin-top: 0;
+ margin-bottom: 0;
}
}