Fixed anchor style and removed unused styles

This commit is contained in:
Jori Lallo
2017-10-23 21:57:59 -07:00
parent 6ef886ad2a
commit b43aa7f2f6
2 changed files with 1 additions and 16 deletions

View File

@ -246,22 +246,6 @@ const StyledEditor = styled(Editor)`
h5,
h6 {
font-weight: 500;
.anchor {
visibility: hidden;
color: #dedede;
padding-left: 0.25em;
}
&:hover {
.anchor {
visibility: visible;
&:hover {
color: #cdcdcd;
}
}
}
}
h1:first-of-type {

View File

@ -72,6 +72,7 @@ export const Heading1 = styled(Heading)`
&:hover {
${Anchor} {
visibility: visible;
text-decoration: none;
}
}
`;