Skip to content

Commit f7871a7

Browse files
committed
fix(routes/patches): misleading interaction feedback
1 parent cce0dbc commit f7871a7

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

src/routes/patches/PatchItem.svelte

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,6 @@
167167
background-color: var(--grey-six);
168168
padding: 1.25rem;
169169
border-radius: 12px;
170-
171-
&:active {
172-
filter: brightness(1.15);
173-
}
174-
175-
&:hover {
176-
background-color: var(--grey-one);
177-
}
178170
}
179171
180172
.title {
@@ -199,14 +191,18 @@
199191
200192
.expanded {
201193
cursor: pointer;
194+
195+
&:hover {
196+
background-color: var(--grey-one);
197+
}
198+
199+
&:active {
200+
filter: brightness(1.15);
201+
}
202202
}
203203
204204
.option {
205205
padding: 1rem;
206-
207-
&:hover {
208-
background-color: var(--grey-two);
209-
}
210206
}
211207
212208
/* thanks piknik */

0 commit comments

Comments
 (0)