Merging in scss .ss-fw fix from @pioz

fix scss version of .ss-fw class (issue #67)
This commit is contained in:
Andrew Gioia 2018-05-07 14:55:21 -04:00 committed by GitHub
commit eefa979874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -8,6 +8,13 @@
} }
} }
/** Set Symbol Fix Width =========================
*/
.#{$keyrune_prefix}-fw {
width: calc(18em / #{$keyrune_font_size / ($keyrune_font_size * 0 + 1)});
text-align: center;
}
/** Set Symbol No Border ========================= /** Set Symbol No Border =========================
* | This class can remain a singleton since it is generic, making * | This class can remain a singleton since it is generic, making
* | it a helper class. * | it a helper class.

View File

@ -40,8 +40,7 @@ $keyrune_sizes: (
'3x': 3em, '3x': 3em,
'4x': 4em, '4x': 4em,
'5x': 5em, '5x': 5em,
'6x': 6em, '6x': 6em
'fw': calc(18em / #{$keyrune_font_size})
) !default; ) !default;
// NOTE: not really sure what to call this array. I notice it is for special borders of sorts, so setlist_borders it is. // NOTE: not really sure what to call this array. I notice it is for special borders of sorts, so setlist_borders it is.