mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(client): a2 spacing for blanks (#55446)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
}
|
||||
|
||||
.fill-in-the-blank-input {
|
||||
font-family: monospace;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
background-color: var(--primary-background);
|
||||
|
||||
@@ -367,11 +367,7 @@ class ShowFillInTheBlank extends Component<
|
||||
)}`}
|
||||
onChange={this.handleInputChange}
|
||||
data-index={node.value}
|
||||
style={{
|
||||
width: `${
|
||||
blankAnswers[node.value].length * 11 + 11
|
||||
}px`
|
||||
}}
|
||||
size={blankAnswers[node.value].length}
|
||||
aria-label={t('learn.blank')}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user