File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed
src/components/ChainSelector Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 66 margin : 0 ;
77}
88
9+ /* Label for the dropdown */
10+ .label {
11+ display : block;
12+ font-size : 0.875rem ;
13+ font-style : italic;
14+ font-weight : 500 ;
15+ color : var (--gray-500 );
16+ margin-bottom : 0.5rem ;
17+ cursor : pointer;
18+ }
19+
920/* Prevent any pseudo-elements from leaking out */
1021.container * ,
1122.container * ::before ,
2637 align-items : center;
2738 gap : 0.5rem ;
2839 padding : 1rem 1rem ;
29- background : white;
30- border : 1px solid var (--color-border-light );
40+ background : var (--gray-100 );
3141 cursor : pointer;
3242 transition : all 0.2s ease;
3343 position : relative;
3848}
3949
4050.trigger : hover {
41- background-color : var (--gray-50 );
51+ background-color : var (--gray-200 );
4252}
4353
4454.trigger : focus {
Original file line number Diff line number Diff line change @@ -141,8 +141,12 @@ export function ChainSelector({
141141
142142 return (
143143 < div className = { styles . container } ref = { containerRef } >
144+ < label className = { styles . label } htmlFor = "chain-selector-trigger" >
145+ Select blockchain:
146+ </ label >
144147 < div className = { styles . controls } >
145148 < button
149+ id = "chain-selector-trigger"
146150 className = { styles . trigger }
147151 onClick = { toggleDropdown }
148152 aria-expanded = { isOpen }
You can’t perform that action at this time.
0 commit comments