From 92b9e5e2509d5963eef23a0664e566575a0fb68b Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Tue, 8 Dec 2015 20:57:36 +0000 Subject: [PATCH] Fixed play button alignment --- client/app/views/mixes/mixes.less | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/client/app/views/mixes/mixes.less b/client/app/views/mixes/mixes.less index c0a1088..fe2f31d 100755 --- a/client/app/views/mixes/mixes.less +++ b/client/app/views/mixes/mixes.less @@ -1,16 +1,3 @@ -.widget-image-container { - width: 74px; - height: 74px; - margin: -20px -50px; - position: relative; - top: 50%; - left: 50%; - background-repeat: no-repeat; - background-position: center center; - background-size: cover; - cursor: pointer; -} - .widget-advanced .widget-image-container { position: absolute; display: inline-block; @@ -119,7 +106,23 @@ .image-container { height: 142px; //background-repeat: no-repeat; + display: flex; + justify-content: center; background-repeat: no-repeat; background-position: right center; background-attachment: scroll; -} \ No newline at end of file + background-size: cover; +} +.widget-image-container { + width: 74px; + height: 74px; + position: absolute!important; + top: 50%; + left: 65%; + transform: translate(-50%,-50%); + background-repeat: no-repeat; + background-position: center center; + background-size: cover; + cursor: pointer; +} +