Fixes anchored post links spamming the browser history.
This commit is contained in:
parent
5cc405ad69
commit
21a75483fe
2 changed files with 8 additions and 6 deletions
|
|
@ -266,7 +266,7 @@ $threads-meta-color: #545d70;
|
|||
border-top: 1px solid $border-color;
|
||||
padding-top: $control-padding-y-lg;
|
||||
|
||||
&:target .post-main {
|
||||
&:target .post-main, &.highlight .post-main {
|
||||
animation: highlight 2000ms ease-out;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue