From 37949e6bca4ca2906a145ab3ef31d6fc7e3b4355 Mon Sep 17 00:00:00 2001 From: Marcos Moura Date: Sat, 4 Feb 2017 19:05:45 -0200 Subject: [PATCH] fix position of md-list-action as first child #408 --- src/components/mdList/mdList.scss | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/src/components/mdList/mdList.scss b/src/components/mdList/mdList.scss index c9d406e..bec07bf 100644 --- a/src/components/mdList/mdList.scss +++ b/src/components/mdList/mdList.scss @@ -20,8 +20,11 @@ min-height: 40px; font-size: 13px; - .md-avatar:first-child { - margin-right: 24px; + .md-avatar, + .md-list-action { + &:first-child { + margin-right: 24px; + } } } } @@ -51,8 +54,11 @@ height: 36px; min-height: 36px; - &:first-child { - margin-right: 20px; + .md-avatar, + .md-list-action { + &:first-child { + margin-right: 20px; + } } } } @@ -88,8 +94,11 @@ height: 36px; min-height: 36px; - &:first-child { - margin-right: 20px; + .md-avatar, + .md-list-action { + &:first-child { + margin-right: 20px; + } } } } @@ -187,8 +196,11 @@ margin-right: 32px; } - .md-avatar:first-child { - margin-right: 16px; + .md-avatar, + .md-list-action { + &:first-child { + margin-right: 16px; + } } .md-list-action { @@ -208,7 +220,8 @@ } .md-icon, - .md-avatar { + .md-avatar, + .md-list-action:first-child { margin: 0; &:first-of-type + * {