Skip to content

Commit

Permalink
fix typo in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
gldgrnt committed May 17, 2021
1 parent b627aee commit 328590e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/wmnds/assets/sass/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// This is a helper which will spit out the correct height/width for any svgs within a heading tag
// This is used to overwrite .wmnds-n-icon__svg class defaults in _n-icon.scss
@mixin n-icon-styling($height-and-font-size: 1rem) {
$width-mulitplier: 0.9995467185761957; // If we times the height by this value we got the correct width for the n-icon svg
$width-multiplier: 0.9995467185761957; // If we times the height by this value we got the correct width for the n-icon svg

.wmnds-n-icon__svg {
width: calc(#{$height-and-font-size * $width-mulitplier});
width: calc(#{$height-and-font-size * $width-multiplier});
height: $height-and-font-size;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/wmnds/components/icon/n-icon/_n-icon.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
$base-height: 1rem;
$width-mulitplier: 0.9995467185761957; // If we times the height by this value we got the correct width for the n-icon svg
$width-multiplier: 0.9995467185761957; // If we times the height by this value we got the correct width for the n-icon svg

.wmnds-n-icon {
font-size: inherit;
line-height: inherit;

&__svg {
display: inline-block;
width: calc($base-height * #{$width-mulitplier});
width: calc($base-height * #{$width-multiplier});
height: $base-height;
fill: currentColor;
vertical-align: revert;
Expand Down

0 comments on commit 328590e

Please sign in to comment.