Skip to content

Commit 762e0e0

Browse files
updates
1 parent d48b47d commit 762e0e0

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

lib/ui/select.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ SOFTWARE.
2626

2727
import { useEffect, useState } from 'react';
2828

29+
const googleFonts_Icons_ArrowDropUp = <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e3e3e3"><path d="M328-400q-9 0-14.5-6t-5.5-14q0-2 6-14l145-145q5-5 10-7t11-2q6 0 11 2t10 7l145 145q3 3 4.5 6.5t1.5 7.5q0 8-5.5 14t-14.5 6H328Z"></path></svg>
30+
2931
const Select = ({
3032
placeholder,
3133
items,
@@ -35,7 +37,7 @@ const Select = ({
3537

3638
return (
3739
<>
38-
<button title={placeholder} type='button' className='bb cw sb scp'><img src={items[id][1]} title={items[id][0]} alt="" className='fi' />{items[id][0]}</button>
40+
<button title={placeholder} type='button' className='bb cw sb scp'>{<googleFonts_Icons_ArrowDropUp id="arw" />}<img src={items[id][1]} title={items[id][0]} alt="" className='fi r2px ow' />{items[id][0]}</button>
3941
</>
4042
)
4143
}

pages/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,10 @@ button {
160160
.aic { /* Align Items - Center */
161161
align-items: center;
162162
}
163+
164+
.r2px { /* border Radius - 2PX */
165+
border-radius: 2px;
166+
}
167+
.ow { /* Outline - White */
168+
outline: 4px solid white;
169+
}

0 commit comments

Comments
 (0)