Files
freeCodeCamp/client/src/templates/Challenges/components/output.css
Muhammed Mustafa 2123b447bc feat(client): hide the outline instead of removing it (#49716)
* feat(client): hide the outline instead of removing it

* remove the old :focus outline values

Co-authored-by: Bruce B <bbsmooth@gmail.com>

---------

Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-04-20 10:02:15 -05:00

26 lines
432 B
CSS

.output-text {
white-space: pre-wrap;
word-break: normal;
padding-top: 0;
height: 100%;
width: 100%;
overflow-y: auto;
}
pre.output-text code {
background-color: var(--quaternary-background);
color: var(--tertiary-color);
font-size: 90%;
padding: 2px 4px;
}
.output-text:focus-visible {
outline-offset: -2px;
}
@supports not selector(:focus-visible) {
.output-text:focus {
outline-offset: -2px;
}
}