Merge pull request #3807 from swagger-api/swagger-ui/execute-animation-cpu-usage
Reduce high cpu/gpu usage of 'Execute' btn animation
This commit is contained in:
@@ -65,6 +65,7 @@
|
|||||||
&.execute
|
&.execute
|
||||||
{
|
{
|
||||||
animation: swagger-ui-pulse 2s infinite;
|
animation: swagger-ui-pulse 2s infinite;
|
||||||
|
will-change: transform;
|
||||||
background-color: $btn-execute-background-color;
|
background-color: $btn-execute-background-color;
|
||||||
color: $btn-execute-font-color;
|
color: $btn-execute-font-color;
|
||||||
border-color: $btn-execute-border-color;
|
border-color: $btn-execute-border-color;
|
||||||
|
|||||||
Reference in New Issue
Block a user