1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

remove top margin on first group

This commit is contained in:
Sylvain 2021-04-28 16:17:56 +02:00
parent 3b2f17d6d8
commit 953224f1f7
2 changed files with 7 additions and 6 deletions

View File

@ -268,6 +268,10 @@
}
.list-of-plans {
.active-group ~ .active-group .group-title {
/* select all active groups but the first (the first have no margin at the top) */
margin: 3em auto 1em;
}
.group-title {
display: flex;
align-items: center;
@ -276,7 +280,7 @@
padding: 2em;
width: 83.33%;
box-sizing: border-box;
margin: 3em auto 1em;
margin: 0 auto 1em;
$border: 5px;
background: #FFF;
background-clip: padding-box;

View File

@ -17,12 +17,9 @@
<div class="row no-gutter list-of-plans">
<div class="col-sm-12 col-md-9 b-r">
<div class="row m-t m-b padder" ng-repeat="plansGroup in plansClassifiedByGroup | groupFilter:ctrl.member">
<div class="row m-t m-b padder" ng-repeat="plansGroup in plansClassifiedByGroup | groupFilter:ctrl.member" ng-class="{'active-group': plansGroup.actives > 0}">
<div ng-show="plansGroup.actives > 0">
<div class="col-md-12 text-center">
<h2 class="text-u-c group-title">{{plansGroup.name}}</h2>
</div>
<div class="row row-centered padder">
<div class="plans-per-group">