Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
fix(Cite): Temporarily remove parentheses around orphan Cite elements
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Mar 18, 2021
1 parent 74729ad commit db01994
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/extensions/cite-author-year/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@
}
}

/* Parentheses around orphan Cite elements */
/*
Parentheses around orphan Cite elements
This is temporarily commented out until we implement encoding
of `citationMode` into HTML. This assumes that all orphan
Cite elements are `citationMode: narrative` (which is the
case for how we decoded eLife articles).
See https://github.com/stencila/schema/pull/247
*/
/*
:not(:--CiteGroup) > :--Cite {
&::before {
content: '(';
Expand All @@ -25,6 +34,7 @@
content: ')';
}
}
*/

/* Hide numeric citation content */
:--Cite > a > :first-child {
Expand Down

0 comments on commit db01994

Please sign in to comment.