mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
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:
parent
451b0310b1
commit
cf05c6051f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user