Fixed anchor style and removed unused styles
This commit is contained in:
@ -246,22 +246,6 @@ const StyledEditor = styled(Editor)`
|
|||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
.anchor {
|
|
||||||
visibility: hidden;
|
|
||||||
color: #dedede;
|
|
||||||
padding-left: 0.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
.anchor {
|
|
||||||
visibility: visible;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #cdcdcd;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1:first-of-type {
|
h1:first-of-type {
|
||||||
|
@ -72,6 +72,7 @@ export const Heading1 = styled(Heading)`
|
|||||||
&:hover {
|
&:hover {
|
||||||
${Anchor} {
|
${Anchor} {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
Reference in New Issue
Block a user