fix(curriculum): match the solution code with original demo (#52728)

This commit is contained in:
Manabu Matsumoto
2024-01-03 02:02:59 +09:00
committed by GitHub
parent 7cdc1f1580
commit e5ea4621e2
2 changed files with 11 additions and 4 deletions

View File

@@ -521,6 +521,11 @@ label {
align-self: center;
}
#search-input:focus-visible,
#search-button:focus-visible {
outline: 3px solid #198eee;
}
#search-input {
height: 40px;
padding-left: 10px;
@@ -534,7 +539,6 @@ label {
text-align: center;
background-color: #7f21ab;
color: #f5f6f7;
outline: none;
border: none;
}

View File

@@ -230,6 +230,7 @@ assert.strictEqual(outputEl.innerText.trim(), 'MMMCMXCIX');
--gray-75: #3b3b4f;
--gray-85: #1b1b32;
--gray-90: #0a0a23;
--blue-50: #198eee;
--error: #a94442;
--danger-color: #850000;
--danger-background: #ffadad;
@@ -296,6 +297,11 @@ label {
font-weight: bold;
}
input:focus-visible,
button:focus-visible {
outline: 3px solid var(--blue-50);
}
input {
display: block;
font-size: 2.5rem;
@@ -307,12 +313,9 @@ input {
color: white;
background-color: var(--gray-90);
border: 1px solid var(--gray-05);
outline: none;
outline-style: none;
}
button {
outline: none;
cursor: pointer;
margin-top: 15px;
text-decoration: none;