From ed2a5b46e1e8aa6e60581c53eb3eaf3e4f280f90 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Sun, 10 Jul 2016 13:15:36 +0300 Subject: [PATCH] Zippy performance optimization --- lib/shared/components/Zippy/zippy.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/shared/components/Zippy/zippy.scss b/lib/shared/components/Zippy/zippy.scss index ac767131..23288fce 100644 --- a/lib/shared/components/Zippy/zippy.scss +++ b/lib/shared/components/Zippy/zippy.scss @@ -10,6 +10,13 @@ $zippy-info-bg-color: rgba($zippy-info-color, .08); $zippy-redirect-color: #263238; $zippy-redirect-bg-color: rgba($zippy-redirect-color, .08); +:host { + // performance optimization + transform: translate3d(0, 0, 0); + overflow: hidden; + display: block; +} + .zippy-title { padding: 10px; border-radius: 2px;