You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2023/07/03 10:56:36 UTC
[maven-fluido-skin] branch fix-padding updated (422da01 -> ad8e01b)
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a change to branch fix-padding
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git
discard 422da01 Fxi padding
new ad8e01b [MSKINS-234] Disabling 'topBarEnabled' doesn't remove padding
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (422da01)
\
N -- N -- N refs/heads/fix-padding (ad8e01b)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/it/topbar-inverse/src/site/site.xml | 1 +
src/it/topbar/src/site/site.xml | 1 +
src/main/resources/css/maven-theme.css | 1 +
3 files changed, 3 insertions(+)
[maven-fluido-skin] 01/01: [MSKINS-234] Disabling 'topBarEnabled' doesn't remove padding
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch fix-padding
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git
commit ad8e01be560b9367cba156c9f760901581c78b90
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sun Jul 2 23:33:01 2023 +0200
[MSKINS-234] Disabling 'topBarEnabled' doesn't remove padding
This closes #53
---
src/main/resources/META-INF/maven/site.vm | 6 +++---
src/main/resources/css/maven-theme.css | 10 +++++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm
index fa1a71a..4e5f1d2 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -60,7 +60,7 @@
#**##if ( $topBarEnabled )
<body class="topBarEnabled">
#**##else
- <body class="topBarDisabled">
+ <body>
#**##end
#**##forkMeOnGitHub()
#**##facebookLoadSDK()
@@ -177,9 +177,9 @@
#**##end
##
#**##if ( $sideBarEnabled )
- <div class="container-fluid">
+ <div class="container-fluid container-fluid-top">
#**##else
- <div class="container">
+ <div class="container container-top">
#**##end
<header>
<div id="banner">
diff --git a/src/main/resources/css/maven-theme.css b/src/main/resources/css/maven-theme.css
index 218ed82..63ac57c 100644
--- a/src/main/resources/css/maven-theme.css
+++ b/src/main/resources/css/maven-theme.css
@@ -81,10 +81,14 @@ li.none {
}
body.topBarEnabled {
- padding-top: 60px;
+ /* calculated height of the topbar */
+ padding-top: 43px;
}
-body.topBarDisabled {
- padding-top: 20px;
+
+div.container-top,
+div.container-fluid-top {
+ /* Bootstrap already adds 10 px to <h1> */
+ padding-top: 10px;
}
.builtBy {