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

Merge pull request #1416 from sharelatex/ja-no-header-margin-in-cards

Remove top margin from header when at top of card

GitOrigin-RevId: cbb7e2445476f48a3bf188d7062b05b1a1847cbf
Simon Detheridge 7 лет назад
Родитель
Сommit
a906504dac
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      services/web/public/stylesheets/components/card.less

+ 7 - 0
services/web/public/stylesheets/components/card.less

@@ -21,6 +21,13 @@
           margin: 0;
       }
   }
+
+  > :first-child {
+    margin-top: 0;
+  }
+  > :last-child {
+    margin-bottom: 0;
+  }
 }
 
 .card-thin {