mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-25 23:05:23 +00:00
improve a11y in homepage examples with some labels
This commit is contained in:
@@ -257,9 +257,13 @@ class CodeEditor extends Component {
|
||||
padding: '5px 10px',
|
||||
},
|
||||
|
||||
'& label': {
|
||||
display: 'block',
|
||||
marginTop: 10,
|
||||
},
|
||||
|
||||
'& textarea': {
|
||||
width: '100%',
|
||||
marginTop: 10,
|
||||
height: 60,
|
||||
padding: 5,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user