mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-06 22:26:33 +02:00
Change the background color of selected radio
This commit is contained in:
@@ -36,7 +36,7 @@ const Cover: React.FC<{}> = () => {
|
||||
padding: '4px',
|
||||
}}
|
||||
>
|
||||
<Circle />
|
||||
<Circle backgroundColor='#00449E' />
|
||||
</div>
|
||||
<div style={{ flex: 1 }}>
|
||||
<Rectangle />
|
||||
|
@@ -40,7 +40,7 @@ const Details: React.FC<{}> = () => {
|
||||
<div
|
||||
style={{
|
||||
backgroundColor: value === selectedValue
|
||||
? 'rgba(0, 0, 0, 0.3)'
|
||||
? '#00449E'
|
||||
: 'transparent',
|
||||
borderRadius: '9999px',
|
||||
height: '16px',
|
||||
|
Reference in New Issue
Block a user