Skip to content

Commit

Permalink
Merge pull request #145 from swiss/bugfix/fix-nested-font
Browse files Browse the repository at this point in the history
Bugfix/fix nested font
  • Loading branch information
satefan authored Jan 24, 2025
2 parents 0fc84f7 + 3d3f45e commit ded9e76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 1 addition & 5 deletions css/components/link.postcss
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ main a[rel*='external'] {
}

:root {
--icon-external-link: url('data:image/svg+xml,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> \
<path d="m14.5 2.7v1.9h3.8l.6-.5.3.1-.7.6-6.4 6.4 1.4 1.4 6.4-6.4.6-.7.1.3-.5.7v3.7h1.9v-7.5z"/> \
<path d="m16.9 19.9h-12v-12.2h5.7v-1.9h-7.6v16h15.9v-7.7h-2z"/> \
</svg>');
--icon-external-link: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E %3Cpath d="m14.5 2.7v1.9h3.8l.6-.5.3.1-.7.6-6.4 6.4 1.4 1.4 6.4-6.4.6-.7.1.3-.5.7v3.7h1.9v-7.5z"/%3E %3Cpath d="m16.9 19.9h-12v-12.2h5.7v-1.9h-7.6v16h15.9v-7.7h-2z"/%3E %3C/svg%3E');
}

.link.link--block + .link.link--block {
Expand Down
5 changes: 5 additions & 0 deletions css/foundations/typography.postcss
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,9 @@ mark {
em,
i {
@apply font-italic;

strong,
b {
@apply font--bold-italic;
}
}

0 comments on commit ded9e76

Please sign in to comment.