Commit cfaa0a6d authored by Jon Mann's avatar Jon Mann Committed by Commit Bot

[NetworkDetails] Prevent jank when collapsing sections of the page.

There was a 10px margin at the top of each collapsible section which
was not included in the animation used when collapsing.  This lead to
a smooth animation for most of the collapse, followed by an awkward
jump for the end of it.

Fixed: 1009978
Change-Id: I04b94a4c8f497fe0d6e7574f201fae389b626d00
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1907198Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Jon Mann <jonmann@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714022}
parent 2bc8d95e
...@@ -38,10 +38,6 @@ ...@@ -38,10 +38,6 @@
padding-bottom: 40px; padding-bottom: 40px;
} }
iron-collapse {
margin: 10px 0;
}
iron-icon { iron-icon {
margin-inline-end: 10px; margin-inline-end: 10px;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment