You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/11/25 06:35:52 UTC
[skywalking-website] branch master updated: Fix the footer bug on
the homepage (#150)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git
The following commit(s) were added to refs/heads/master by this push:
new 84fcaf5 Fix the footer bug on the homepage (#150)
84fcaf5 is described below
commit 84fcaf50fbc72f20215f11b37b51d1799877e678
Author: Juntao Zhang <jt...@163.com>
AuthorDate: Wed Nov 25 14:35:42 2020 +0800
Fix the footer bug on the homepage (#150)
* fix: remove the redundant div
* fix styles
* remove unused code
Co-authored-by: Juntao Zhang <zh...@apache.org>
---
themes/docsy/assets/scss/_styles_project.scss | 6 +++---
themes/docsy/layouts/partials/footer.html | 22 ++++++----------------
2 files changed, 9 insertions(+), 19 deletions(-)
diff --git a/themes/docsy/assets/scss/_styles_project.scss b/themes/docsy/assets/scss/_styles_project.scss
index 4da458d..529e950 100644
--- a/themes/docsy/assets/scss/_styles_project.scss
+++ b/themes/docsy/assets/scss/_styles_project.scss
@@ -212,11 +212,11 @@ table {
#overview.bg-box {
background-color: #f7f7f9;
- //padding: 0 -15px !important;
}
- #overview {
- //padding:
+ .sky-row{
+ margin-right: -15px;
+ margin-left: -15px;
}
}
diff --git a/themes/docsy/layouts/partials/footer.html b/themes/docsy/layouts/partials/footer.html
index 8828ed9..3b49e00 100644
--- a/themes/docsy/layouts/partials/footer.html
+++ b/themes/docsy/layouts/partials/footer.html
@@ -1,32 +1,22 @@
{{ $links := .Site.Params.links }}
-<footer class="bg-dark py-5 row d-print-none">
- <div class="container-fluid mx-sm-5">
- <div class=" text-center ">
- <div class="">
+<footer class="bg-dark py-5 sky-row">
+ <div class="container-fluid text-center">
+ <div class="">
{{ with $links }}
{{ with index . "user"}}
{{ template "footer-links-block" . }}
{{ end }}
{{ end }}
- </div>
- <!-- <div class="col-6 col-sm-4 text-right text-xs-center order-sm-3">
- {{ with $links }}
- {{ with index . "developer"}}
- {{ template "footer-links-block" . }}
- {{ end }}
- {{ end }}
- </div>-->
-<!-- <div class="col-12 col-sm-4 text-center py-2 order-sm-2">-->
- <div class="">
+ </div>
+ <div class="">
{{ with .Site.Params.copyright }}<small class="text-white">© {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small>{{ end }}
{{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}" target="_blank">{{ T "footer_privacy_policy" }}</a></small>{{ end }}
{{ if not .Site.Params.ui.footer_about_disable }}
{{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}
{{ end }}
- </div>
</div>
- <div class="text-center">
+ <div class="">
<small class="text-white mt-4">Apache SkyWalking, SkyWalking, Apache, the Apache feather logo, and the Apache SkyWalking project logo are either registered trademarks or trademarks of the Apache Software Foundation.</small>
</div>
</div>