Chromium Code Reviews
DescriptionDevTools: popovers use padding instead of margin
The root cause of this issue is crbug.com/633602, which leads to cases when
scrollbars are not removed from elements even though the content would fit. In
our case, popovers with only one line of content will exhibit a scrollbar on
certain zoom levels before we apply their correct width/height.
By using padding instead of margins, the inner content has extra height and no
scrollbar, even before its fixed width/height is applied.
BUG=599214
Committed: https://crrev.com/35a2db47116994f527950d9bac81873a9661c096
Cr-Commit-Position: refs/heads/master@{#426348}
Patch Set 1 #
Messages
Total messages: 22 (15 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||