fix scss version of .ss-fw class (issue #67)

This commit is contained in:
pioz 2018-03-08 15:58:49 +01:00
parent c6e390bd35
commit 0dbd9b24a0
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.