Minor perf optimizations

This commit is contained in:
Roman Hotsiy 2016-07-10 14:47:34 +03:00
parent 31e38ac7ec
commit b4a8c35be6
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -13,6 +13,7 @@ $zippy-redirect-bg-color: rgba($zippy-redirect-color, .08);
:host { :host {
// performance optimization // performance optimization
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
backface-visibility: hidden;
overflow: hidden; overflow: hidden;
display: block; display: block;
} }
@ -105,8 +106,5 @@ span.zippy-indicator {
} }
.zippy-hidden > .zippy-content { .zippy-hidden > .zippy-content {
overflow: hidden; display: none;
visibility: hidden;
height: 0;
padding: 0;
} }