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