diff options
author | Chip Senkbeil <chip.senkbeil@gmail.com> | 2015-09-02 23:52:01 +0300 |
---|---|---|
committer | Chip Senkbeil <chip.senkbeil@gmail.com> | 2015-09-02 23:52:01 +0300 |
commit | 962a471371d1922d01ae6fa00a9661d25d554fe3 (patch) | |
tree | ce49eccb367f6baf1337c476e0e365df145e4c59 | |
parent | 5866f84398c3fbf41856492f9dd62b035352c26d (diff) |
Fixed forced height for cell container parallax layer
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | static/css/main.css | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index b1ac551..aac0152 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,7 +8,7 @@ {{ partial "header-scrolling.html" . }} {{ end }} - <div class="parallax__group"> + <div class="parallax__group parallax__group--auto-height"> <div class="parallax__layer parallax__layer--base"> <div class="row-colors center-align"> <h2 class="no-margin"> diff --git a/static/css/main.css b/static/css/main.css index 3880c1e..be68416 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -345,6 +345,10 @@ ul.tags li a { transform-style: preserve-3d; } +.parallax__group--auto-height { + height: auto; +} + .parallax__layer { position: absolute; top: 0px; |