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 Jun 30, 2023
1 parent 2cc2e18 commit 6915ce8
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 6915ce8

Please sign in to comment.