mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
Minor perf optimizations
This commit is contained in:
parent
31e38ac7ec
commit
b4a8c35be6
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user