Skip to content

Commit 42fa558

Browse files
feat(calendar/search-bar): style display select
1 parent 40a2088 commit 42fa558

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

components/calendar/search-bar.module.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
.filterChips {
2323
flex-wrap: nowrap;
2424
}
25+
26+
.select {
27+
:global(.mdc-select) {
28+
background-color: transparent;
29+
border-radius: 0;
30+
31+
:global(.mdc-select__anchor) {
32+
border-radius: 0;
33+
width: 90px;
34+
35+
:global(.mdc-line-ripple::before) {
36+
border: none;
37+
}
38+
}
39+
}
40+
41+
:global(.mdc-select:not(.mdc-select--disabled) .mdc-select__anchor) {
42+
background-color: transparent;
43+
}
44+
}
2545
}
2646

2747
.right {

components/calendar/search-bar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ function SearchBar({
4949
icon={<DownloadIcon />}
5050
/>
5151
)}
52-
</div>
53-
<div className={styles.right}>
5452
<div className={styles.select}>
5553
<Select
5654
enhanced
@@ -59,6 +57,8 @@ function SearchBar({
5957
onChange={(evt) => setDisplay(evt.currentTarget.value as CalendarDisplay)}
6058
/>
6159
</div>
60+
</div>
61+
<div className={styles.right}>
6262
<TextField
6363
outlined
6464
placeholder='Search by description'

0 commit comments

Comments
 (0)