Skip to content

Commit f529b3c

Browse files
committed
Use colored background for SearchableChainDropdown
1 parent 7e191fd commit f529b3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/contract-verification/src/app/components/SearchableChainDropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ export const SearchableChainDropdown: React.FC<DropdownProps> = ({ label, id, se
9999
<label htmlFor={id}>{label}</label>
100100
<input type="text" value={searchTerm} onChange={handleInputChange} onClick={openDropdown} placeholder="Select a chain" className="form-control" />
101101
{isOpen && (
102-
<ul className="dropdown-menu show w-100" style={{ maxHeight: '400px', overflowY: 'auto' }}>
102+
<ul className="dropdown-menu show w-100 bg-light" style={{ maxHeight: '400px', overflowY: 'auto' }}>
103103
{filteredOptions.map((chain) => (
104-
<li key={chain.chainId} onClick={() => handleOptionClick(chain)} className={`dropdown-item ${selectedChain?.chainId === chain.chainId ? 'active' : ''}`} style={{ cursor: 'pointer', whiteSpace: 'normal' }}>
104+
<li key={chain.chainId} onClick={() => handleOptionClick(chain)} className={`dropdown-item text-dark ${selectedChain?.chainId === chain.chainId ? 'active' : ''}`} style={{ cursor: 'pointer', whiteSpace: 'normal' }}>
105105
{getChainDescriptor(chain)}
106106
</li>
107107
))}

0 commit comments

Comments
 (0)