Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 8548d49

Browse files
committed
fix: fix issue
1 parent b250d55 commit 8548d49

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

src/routes/MyTeamsDetails/components/TeamMembers/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const TeamMembers = ({ team }) => {
9696
aside={
9797
<Input
9898
placeholder="Filter by handle, name, role or skill"
99-
styleName="filter-input overwrite-width"
99+
styleName="filter-input"
100100
value={filter}
101101
onChange={onFilterChange}
102102
/>

src/routes/MyTeamsDetails/components/TeamMembers/styles.module.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
padding: 0 24px 24px;
77
}
88

9-
.filter-input.overwrite-width {
10-
width: 380px;
9+
// overwrite the css
10+
input:not([type="checkbox"]).filter-input {
11+
@media (min-width: 740px) {
12+
width: 380px;
13+
}
1114
}
1215

1316
.controls {

src/routes/MyTeamsList/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const MyTeamsList = () => {
6666
aside={
6767
<Input
6868
placeholder="Filter by team name"
69-
styleName="filter-input overwrite-width"
69+
styleName="filter-input"
7070
onChange={onFilterChange}
7171
/>
7272
}

src/routes/MyTeamsList/styles.module.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
@import "styles/include";
22

3-
.filter-input {
4-
&.overwrite-width {
3+
// overwrite the css
4+
input:not([type="checkbox"]).filter-input {
5+
@media (min-width: 651px) {
56
width: 380px;
67
}
8+
}
9+
10+
.filter-input {
11+
width: 380px;
712
background-color: #ffffff;
813
border: 1px solid #aaaaaa;
914
border-radius: 6px;

0 commit comments

Comments
 (0)