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

Commit 4e57c34

Browse files
committed
fix: improve style logic consistency
1 parent 08144eb commit 4e57c34

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

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

+4-7
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
padding: 0 24px 24px;
77
}
88

9-
// overwrite the css
9+
// adding "input:not([type="checkbox"])" to make sure that we override reset styles
1010
input:not([type="checkbox"]).filter-input {
11-
@media (min-width: 740px) {
12-
width: 380px;
13-
}
11+
width: 380px;
1412
}
1513

1614
.controls {
@@ -226,10 +224,9 @@ input:not([type="checkbox"]).filter-input {
226224
width: 100%;
227225
}
228226
}
229-
}
230227

231-
@media (max-width: 374px) {
232-
.filter-input {
228+
// adding "input:not([type="checkbox"])" to make sure that we override reset styles
229+
input:not([type="checkbox"]).filter-input {
233230
width: 100%;
234231
}
235232
}

src/routes/MyTeamsList/styles.module.scss

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
@import "styles/include";
22

3-
// overwrite the css
3+
// adding "input:not([type="checkbox"])" to make sure that we override reset styles
44
input:not([type="checkbox"]).filter-input {
5-
@media (min-width: 651px) {
6-
width: 380px;
7-
}
8-
}
9-
10-
.filter-input {
115
width: 380px;
126
background-color: #ffffff;
137
border: 1px solid #aaaaaa;
@@ -37,7 +31,8 @@ input:not([type="checkbox"]).filter-input {
3731
}
3832

3933
@media (max-width: 650px) {
40-
.filter-input {
34+
// adding "input:not([type="checkbox"])" to make sure that we override reset styles
35+
input:not([type="checkbox"]).filter-input {
4136
width: 100%;
4237
}
4338
}

0 commit comments

Comments
 (0)