瀏覽代碼

fix for ie

alexlcdee 7 年之前
父節點
當前提交
ceee975efc
共有 4 個文件被更改,包括 12 次插入3 次删除
  1. 5 2
      src/files/css/main.css
  2. 0 0
      src/files/css/main.css.map
  3. 2 1
      src/files/scss/_shortnews.scss
  4. 5 0
      src/files/scss/_specials.scss

+ 5 - 2
src/files/css/main.css

@@ -8850,7 +8850,7 @@ img {
 .shortnews__item {
   font-family: "Cuprum", Impact, "Charcoal CY", sans-serif;
   background-color: #ebebeb;
-  min-height: 320px;
+  height: 320px;
   display: -webkit-flex;
   display: -ms-flex;
   display: flex;
@@ -9044,13 +9044,16 @@ img {
   justify-content: space-between;
   color: #000000;
   text-decoration: none;
-  margin-bottom: 10px; }
+  margin-bottom: 10px;
+  height: 420px; }
   .special-items__item:hover {
     border-color: #d2dee9;
     text-decoration: none; }
   .special-items__item--half-size {
     width: calc(50% - 10px);
     margin-left: 10px; }
+.special-items__top {
+  height: 320px; }
 .special-items__title {
   display: flex;
   flex-direction: row;

File diff suppressed because it is too large
+ 0 - 0
src/files/css/main.css.map


+ 2 - 1
src/files/scss/_shortnews.scss

@@ -9,7 +9,8 @@
   &__item {
     font-family: $fontcuprum;
     background-color: #ebebeb;
-    min-height: 320px;
+    //min-height: 320px;
+    height: 320px;
     display: -webkit-flex;
     display: -ms-flex;
     display: flex;

+ 5 - 0
src/files/scss/_specials.scss

@@ -35,6 +35,7 @@
         color: #000000;
         text-decoration: none;
         margin-bottom: 10px;
+        height: 420px;
 
         &:hover {
             border-color: #d2dee9;
@@ -47,6 +48,10 @@
         }
     }
 
+    &__top {
+        height: 320px;
+    }
+
     &__title {
         display: flex;
         flex-direction: row;

Some files were not shown because too many files changed in this diff