Skip to content

Commit

Permalink
fix(icon): remove specifity from svg global styles
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinWijnant committed Jun 1, 2020
1 parent d4106f8 commit 5f53577
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@import './theme.css';

svg[viewBox='0 0 24 24'][stroke-linejoin='round'][stroke-linecap='round'] {
/* Multiple issues open to set the default svg size */
/* https://github.com/feathericons/react-feather/pull/62 */
/* Remove this when a better solution is available */
svg[viewBox='0 0 24 24'] {
width: var(--font-size);
height: var(--font-size);
}

0 comments on commit 5f53577

Please sign in to comment.