Commit e207d499 authored by Protocole's avatar Protocole
Browse files

Fixing Slider Responsive

parent 0d113a3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@
.tx-hero__content {
    padding-bottom: 6rem;
}
@media screen and (min-width: 60em) {
@media screen and (min-width: 70em) {
    .tx-hero {
        display: flex;
        align-items: stretch;
+5 −1
Original line number Diff line number Diff line
@@ -551,7 +551,11 @@

            var self = this;
            window.addEventListener("resize", function() {
                self.setWrapperDimensions();
                let $juxtapose_container = document.getElementsByClassName("juxtapose-container")[0]
                let juxtaposeBounding = self.wrapper.getBoundingClientRect();
                let containerBounding = $juxtapose_container.getBoundingClientRect();
                self.wrapper.style.width = containerBounding.width + "px";
                self.wrapper.style.height = containerBounding.width * (juxtaposeBounding.height / juxtaposeBounding.width) + "px";
            });


+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
            </a>
          </div>
        </div>
        <div class="tx-hero__image z-index-1000">
        <div class="tx-hero__image z-index-1000 juxtapose-container">
          <div id="juxtapose"></div>
        </div>
      </div>
+1 −1

File changed.

Contains only whitespace changes.