Skip to content

Commit 551cf5d

Browse files
Remove tag filter btn bg-color change on hover
1 parent 0c62467 commit 551cf5d

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

web/components/GlobalStyles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const GlobalStyles = createGlobalStyle`
5454
font-family: 'Nanum Gothic Coding', monospace;
5555
&:hover {
5656
cursor: pointer;
57-
background-color: var(--primary-darker);
57+
/* background-color: var(--primary-darker); */
5858
}
5959
}
6060

web/components/KeywordTags.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ const TagBtn = styled.button`
55
margin: 15px 0 0 15px;
66
background-color: ${({ theme }) => theme.listItemBgColor};
77
color: ${({ theme }) => theme.primaryColor};
8-
&:hover {
9-
background-color: ${({ theme }) => theme.secondaryColor};
10-
}
11-
${({active, theme }) => active && `
8+
/* &:hover {
9+
background-color: ${({ active, theme }) => {
10+
return !active
11+
? theme.listItemBgColor
12+
: theme.secondaryColor
13+
}};
14+
} */
15+
${({ active, theme }) => active && `
1216
background-color: ${theme.secondaryColor}
1317
`}
1418
`

0 commit comments

Comments
 (0)