Skip to content

Commit 176b11f

Browse files
committed
Minor updates popover styles
1 parent 7bc15f0 commit 176b11f

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

src/styles/Base.js

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,9 @@ import {
44
PopoverContainer,
55
PopoverContent,
66
PopoverTrigger
7-
} from 'react-popopo';
7+
} from 'react-popopo'
88

99
export const GlobalStyle = createGlobalStyle`
10-
.popover[class*="menu"] .popover__content a {
11-
color: rgba(255, 255, 255, 0.56);
12-
padding: .5em 1em;
13-
margin: 0;
14-
text-decoration: none;
15-
}
16-
17-
.popover[class*="menu"] .popover__content a:hover {
18-
background-color: #00bcd4 !important;
19-
color: #37474F;
20-
}
21-
2210
.comPlainTextContentEditable {
2311
-webkit-user-modify: read-write-plaintext-only;
2412
cursor: text;
@@ -88,9 +76,18 @@ export const CustomPopoverContent = styled(PopoverContent)`
8876
transition: all 0.3s ease 0ms;
8977
left: 50%;
9078
}
79+
a {
80+
color: rgba(255, 255, 255, 0.56);
81+
padding: .5em 1em;
82+
margin: 0;
83+
text-decoration: none;
84+
&:hover {
85+
background-color: #00bcd4 !important;
86+
color: #37474F;
87+
}
88+
}
9189
`
9290

93-
9491
export const BoardWrapper = styled.div`
9592
background-color: #3179ba;
9693
overflow-y: hidden;

0 commit comments

Comments
 (0)