Fixes anchored post links spamming the browser history.

This commit is contained in:
Dominik Picheta 2018-05-22 20:44:27 +01:00
commit 21a75483fe
2 changed files with 8 additions and 6 deletions

View file

@ -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;
}
}