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:
parent
3b2f17d6d8
commit
953224f1f7
@ -268,6 +268,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list-of-plans {
|
.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 {
|
.group-title {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -276,7 +280,7 @@
|
|||||||
padding: 2em;
|
padding: 2em;
|
||||||
width: 83.33%;
|
width: 83.33%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: 3em auto 1em;
|
margin: 0 auto 1em;
|
||||||
$border: 5px;
|
$border: 5px;
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
|
@ -17,12 +17,9 @@
|
|||||||
<div class="row no-gutter list-of-plans">
|
<div class="row no-gutter list-of-plans">
|
||||||
<div class="col-sm-12 col-md-9 b-r">
|
<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 ng-show="plansGroup.actives > 0">
|
||||||
<div class="col-md-12 text-center">
|
<h2 class="text-u-c group-title">{{plansGroup.name}}</h2>
|
||||||
<h2 class="text-u-c group-title">{{plansGroup.name}}</h2>
|
|
||||||
</div>
|
|
||||||
<div class="row row-centered padder">
|
<div class="row row-centered padder">
|
||||||
<div class="plans-per-group">
|
<div class="plans-per-group">
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user