mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 01:54: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 {
|
||||
// performance optimization
|
||||
transform: translate3d(0, 0, 0);
|
||||
backface-visibility: hidden;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
}
|
||||
|
@ -105,8 +106,5 @@ span.zippy-indicator {
|
|||
}
|
||||
|
||||
.zippy-hidden > .zippy-content {
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
height: 0;
|
||||
padding: 0;
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user