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 fullofcaffeine committed Jul 7, 2023
1 parent c02063b commit a2ff5fe
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

1 comment on commit a2ff5fe

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in a2ff5fe.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5488583838
📝 Reported issues:

Please sign in to comment.