mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
remove top margin on first group
This commit is contained in:
parent
3b2f17d6d8
commit
953224f1f7
@ -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;
|
||||
|
@ -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>
|
||||
<h2 class="text-u-c group-title">{{plansGroup.name}}</h2>
|
||||
<div class="row row-centered padder">
|
||||
<div class="plans-per-group">
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user