mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
use width for radio buttons, not margin
This fixes #962 – the margin was causing flex to overflow the radio buttons when the text was long, causing the male and other options to render on top of each other. This fixes that by giving the radio buttons a fixed with relative to the parent container, and by ensuring that languages with long localizations will still be visible in overflow text.
This commit is contained in:
parent
16d638672e
commit
cc0496619d
1 changed files with 2 additions and 1 deletions
|
@ -66,8 +66,9 @@
|
|||
}
|
||||
|
||||
.radio {
|
||||
margin-right: 2.5rem;
|
||||
width: 50%;
|
||||
line-height: 3rem;
|
||||
white-space: nowrap;
|
||||
|
||||
input {
|
||||
margin-right: 1rem;
|
||||
|
|
Loading…
Reference in a new issue