You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2019/11/06 13:23:17 UTC

[airflow-site] branch aip-11 updated: Fix the navbar overlap on the home page (#131)

This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to branch aip-11
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/aip-11 by this push:
     new 4c6fbb2  Fix the navbar overlap on the home page (#131)
4c6fbb2 is described below

commit 4c6fbb245720400843d2256a66f360f42698180c
Author: Kamil BreguĊ‚a <mi...@users.noreply.github.com>
AuthorDate: Wed Nov 6 14:23:10 2019 +0100

    Fix the navbar overlap on the home page (#131)
---
 landing-pages/site/assets/scss/_home-page.scss  | 8 ++++++--
 landing-pages/site/layouts/_default/baseof.html | 4 ++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/landing-pages/site/assets/scss/_home-page.scss b/landing-pages/site/assets/scss/_home-page.scss
index ebd0dec..bda7e24 100644
--- a/landing-pages/site/assets/scss/_home-page.scss
+++ b/landing-pages/site/assets/scss/_home-page.scss
@@ -19,8 +19,12 @@
 @import "media";
 
 .home-page-layout {
-  &.container {
-    padding-top: 80px;
+  &.base-layout {
+    padding-top: 70px;
+
+    @media (max-width: $mobile) {
+      padding-top: 16px;
+    }
   }
 }
 .principles-header {
diff --git a/landing-pages/site/layouts/_default/baseof.html b/landing-pages/site/layouts/_default/baseof.html
index ae82540..1dcb2e8 100644
--- a/landing-pages/site/layouts/_default/baseof.html
+++ b/landing-pages/site/layouts/_default/baseof.html
@@ -41,8 +41,8 @@
             </div>
         </div>
     </section>
-    <div class="base-layout">
-        <main role="main" class="home-page-layout td-main container">
+    <div class="home-page-layout base-layout">
+        <main role="main" class="td-main container">
             {{ block "main" . }}{{ end }}
         </main>
         <div class="base-layout--button">