Просмотр исходного кода

Prevent .units from hiding behind .header

Flat 9 лет назад
Родитель
Сommit
ff05f9cca8
1 измененных файлов с 6 добавлено и 8 удалено
  1. 6 8
      web/css/styles.min.css

+ 6 - 8
web/css/styles.min.css

@@ -1338,7 +1338,7 @@ div.l-content > div.l-separator:nth-of-type(4) {
 
 .l-unit--suspended .l-unit__name,
 .l-unit--suspended b,
-.l-unit--outdated .l-unit__name, 
+.l-unit--outdated .l-unit__name,
 .l-unit--outdated b {
   color: #c0c0c0;
 }
@@ -2878,12 +2878,10 @@ div.l-content.collapsed .l-sort {
   margin-top: 94px;
 }
 
-.l-content > .l-center .l-unit:nth-of-type(1) {
-  padding-top: 260px;
-}
-
-.l-content > .l-center .l-unit-ft:nth-of-type(1) {
-  padding-top: 260px;
+.l-content > .units.l-center::before {
+  content: '';
+  display: block;
+  height: 260px;
 }
 
 form#vstobjects {
@@ -3281,4 +3279,4 @@ form#vstobjects.suspended {
   .helper-container {
     display: none;
   }
-}
+}