Skip to content

Commit

Permalink
feedbacked
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe committed Mar 9, 2021
1 parent dc96985 commit 968d9cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions client/src/document/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
}
}

.only-in-en-us {
span {
font-size: $small-font-size;
}
}

.article {
padding: ($base-spacing / 2) $base-spacing $base-spacing;

Expand Down
6 changes: 3 additions & 3 deletions kumascript/src/api/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ module.exports = {
);
flawAttribute = ` data-flaw-src="${util.htmlEscape(flaw.macroSource)}"`;
return (
'<a class="page-only-in-english" ' +
'title="Page currently only available in English" ' +
`href="${enUSPage.url}"${flawAttribute}>${content} <small>(en-US)</small></a>`
'<a class="only-in-en-us" ' +
'title="Currently only available in English" ' +
`href="${enUSPage.url}"${flawAttribute}>${content} <span>(en-US)</span></a>`
);
}
}
Expand Down

0 comments on commit 968d9cd

Please sign in to comment.