Skip to content
Snippets Groups Projects
Commit 512feab2 authored by Nolan Lawson's avatar Nolan Lawson Committed by Yamagishi Kazutoshi
Browse files

Add margin to account for Edge disappearing scrollbar (#5522)

* Add margin to account for Edge disappearing scrollbar

* Fix 16px margin for DMs and horizontal line
parent 5e111ce1
No related branches found
No related tags found
No related merge requests found
......@@ -620,6 +620,12 @@
border-bottom: 1px solid lighten($ui-base-color, 8%);
cursor: default;
@supports (-ms-overflow-style: -ms-autohiding-scrollbar) {
// Add margin to avoid Edge auto-hiding scrollbar appearing over content.
// On Edge 16 this is 16px and Edge <=15 it's 12px, so aim for 16px.
padding-right: 26px; // 10px + 16px
}
@keyframes fade {
0% { opacity: 0; }
100% { opacity: 1; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment