client: lists headers: use padding instead of margin

No visual changes but allows to set a background color to the list header.
reviewable/pr2128/r1
Benjamin Tissoires 6 years ago
parent 6c3dbc3c6f
commit 78c779faaf
  1. 8
      client/components/lists/list.styl

@ -45,7 +45,7 @@
.list-header .list-header
flex: 0 0 auto flex: 0 0 auto
margin: 20px 12px 4px padding: 20px 12px 4px
position: relative position: relative
min-height: 20px min-height: 20px
@ -73,10 +73,10 @@
.list-header-menu .list-header-menu
position: absolute position: absolute
padding: 7px padding: 27px 19px
margin-top: 1px margin-top: 1px
top: -@padding top: -7px
right: -@padding right: -7px
.list-header-plus-icon .list-header-plus-icon
color: #a6a6a6 color: #a6a6a6

Loading…
Cancel
Save