Skip to content

Commit

Permalink
Footnotes: inscrease selector specificity for anchor (#52179)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored and tellthemachines committed Jul 3, 2023
1 parent bb0b403 commit 83ea11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/footnotes/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
counter-reset: footnotes;
}

.fn {
[data-fn].fn {
vertical-align: super;
font-size: smaller;
counter-increment: footnotes;
display: inline-block;
text-indent: -9999999px;
}

.fn::after {
[data-fn].fn::after {
content: "[" counter(footnotes) "]";
text-indent: 0;
float: left;
Expand Down

0 comments on commit 83ea11f

Please sign in to comment.