summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2013-09-18 16:41:53 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-09-24 19:01:23 (GMT)
commitb4e5125a6208c783445ffb66d1f683d17c8c7cd1 (patch)
tree8df7c9522c8898ad98b6b587043399c5e61f0146
parentfdfd672d72efaca065df367b7eb645733d928421 (diff)
downloadDoxygen-b4e5125a6208c783445ffb66d1f683d17c8c7cd1.zip
Doxygen-b4e5125a6208c783445ffb66d1f683d17c8c7cd1.tar.gz
Doxygen-b4e5125a6208c783445ffb66d1f683d17c8c7cd1.tar.bz2
Alignment of @code and @verbatim section
When having a code and a verbatim section the boxes are not alligned, this patch fixes this. Example code, aa.c; standard Doxyfile: /** \file \verbatim A verbatim part \endverbatim \code A code part \endcode */
-rw-r--r--src/doxygen.css4
-rw-r--r--src/doxygen_css.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/doxygen.css b/src/doxygen.css
index 3e9451f..23e7fd0 100644
--- a/src/doxygen.css
+++ b/src/doxygen.css
@@ -169,8 +169,8 @@ pre.fragment {
}
div.fragment {
- padding: 0px;
- margin: 0px;
+ padding: 4px 6px;
+ margin: 4px 8px 4px 2px;
background-color: ##FC;
border: 1px solid ##CC;
}
diff --git a/src/doxygen_css.h b/src/doxygen_css.h
index 38ffa19..299852d 100644
--- a/src/doxygen_css.h
+++ b/src/doxygen_css.h
@@ -169,8 +169,8 @@
"}\n"
"\n"
"div.fragment {\n"
-" padding: 0px;\n"
-" margin: 0px;\n"
+" padding: 4px 6px;\n"
+" margin: 4px 8px 4px 2px;\n"
" background-color: ##FC;\n"
" border: 1px solid ##CC;\n"
"}\n"