fix container focus rendering issue on Edge (#256)

This commit is contained in:
Nolan Lawson 2018-05-02 20:35:05 -07:00 committed by GitHub
parent ffa5dcb3ec
commit 8f5a4aadca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,6 +139,12 @@ ul, li, p {
outline: 2px solid var(--focus-outline); outline: 2px solid var(--focus-outline);
} }
.container:focus {
// the outline causes choppy rendering on Edge and isn't visible or necessary anyway
// https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/17343598/
outline: none;
}
button::-moz-focus-inner { button::-moz-focus-inner {
border: 0; border: 0;
} }