From b4e5125a6208c783445ffb66d1f683d17c8c7cd1 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 18 Sep 2013 18:41:53 +0200 Subject: 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 */ --- src/doxygen.css | 4 ++-- src/doxygen_css.h | 4 ++-- 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" -- cgit v0.12