From 0d0fe6e9e83584e6367fe3c624bb0163e447e94d Mon Sep 17 00:00:00 2001 From: Maciej Matuszewski Date: Sun, 14 Jan 2018 23:04:52 +0100 Subject: [PATCH] Fix team pofiles on firefox --- src/styles/components/_profile.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/styles/components/_profile.scss b/src/styles/components/_profile.scss index 1935ae3..f69ee1b 100644 --- a/src/styles/components/_profile.scss +++ b/src/styles/components/_profile.scss @@ -16,10 +16,14 @@ &__image { width: 100%; - height: 100%; - padding-bottom: 114%; background-position: center center; background-size: cover; + + &::after { + display: block; + padding-bottom: 114%; + content: ''; + } } &__location,