mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-22 21:08:12 +08:00
fix(client): remove border from project code (#50968)
This commit is contained in:
parent
a6e1af7b97
commit
acc06f6ea2
@ -457,7 +457,6 @@ input:focus {
|
||||
border-color: var(--tertiary-color);
|
||||
}
|
||||
code {
|
||||
border: 1px solid var(--secondary-color);
|
||||
padding: 1px 4px;
|
||||
background-color: var(--quaternary-background);
|
||||
color: var(--tertiary-color);
|
||||
@ -466,6 +465,10 @@ code {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
:not(pre) > code {
|
||||
border: 1px solid var(--secondary-color);
|
||||
}
|
||||
|
||||
.challenge-instructions code {
|
||||
white-space: break-spaces;
|
||||
}
|
||||
@ -561,7 +564,6 @@ hr {
|
||||
code[class*='language-'],
|
||||
pre[class*='language-'] {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
pre {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user