Bug 1835426 - Add some padding to devtools-tooltip-events-container when overlay scrollbars are present r=nchevobbe,devtools-reviewers

This makes it harder for the user to accidentally expand the overlay scrollbar
when they actually intended to toggle an event listener on or off.

Differential Revision: https://phabricator.services.mozilla.com/D179279
This commit is contained in:
Gregory Pappas 2023-05-30 09:17:57 +00:00
parent 451b0310b1
commit cf05c6051f

View File

@ -598,6 +598,12 @@ strong {
overflow-y: auto;
}
@media (-moz-overlay-scrollbars) {
.devtools-tooltip-events-container {
padding-inline: calc(env(scrollbar-inline-size) / 2);
}
}
.devtools-tooltip-events-container .event-header {
display: flex;
align-items: center;