]> git.parisson.com Git - mezzo.git/commitdiff
Same height on article/media boxes
authorJérémy Fabre <Jeremy@iMac-de-Jeremy-2.fritz.box>
Tue, 14 Feb 2017 09:47:31 +0000 (10:47 +0100)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy-2.fritz.box>
Tue, 14 Feb 2017 09:47:31 +0000 (10:47 +0100)
app/static/src/sass/modules/boxes/_article-box.scss
app/static/src/sass/modules/boxes/_media-box.scss

index 55cbe54941566910a11c7c0d0f0f7732c1e6ac8c..da34dc69f5f6dfc0dd9408d0829c777fd9b6e282 100644 (file)
@@ -30,9 +30,16 @@ $module: ".article-box";
     border: 1px solid rgba($color-main, 0.35);
     @include padding(1);
 
+    height: 550px;
+
+    @include mq($until: xs) {
+        height: auto;
+    }
+
     .slider-home & {
         @include margin(0);
         max-width: none;
+        height: auto;
     }
 
     &:hover {
index fbc5d331c6227f8ff8b778d1a1c78acd40c4e8ae..52dfee71dbf1c743fcd36777e4b8deb50376fb8b 100644 (file)
@@ -30,6 +30,12 @@ $module: ".media-box";
     border: 1px solid rgba($color-main, 0.35);
     @include padding(1);
 
+    height: 550px;
+
+    @include mq($until: xs) {
+        height: auto;
+    }
+
     &:hover {
 
         border: 1px solid rgba($color-main, 1);