From 0dbd9b24a0c33b1b49d346bd9469536f134830bc Mon Sep 17 00:00:00 2001 From: pioz Date: Thu, 8 Mar 2018 15:58:49 +0100 Subject: [PATCH] fix scss version of .ss-fw class (issue #67) --- sass/_helpers.scss | 7 +++++++ sass/_variables.scss | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sass/_helpers.scss b/sass/_helpers.scss index 5dcc2f5..3bc886b 100644 --- a/sass/_helpers.scss +++ b/sass/_helpers.scss @@ -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 ========================= * | This class can remain a singleton since it is generic, making * | it a helper class. diff --git a/sass/_variables.scss b/sass/_variables.scss index 4066d6f..3034c74 100644 --- a/sass/_variables.scss +++ b/sass/_variables.scss @@ -40,8 +40,7 @@ $keyrune_sizes: ( '3x': 3em, '4x': 4em, '5x': 5em, - '6x': 6em, - 'fw': calc(18em / #{$keyrune_font_size}) + '6x': 6em ) !default; // NOTE: not really sure what to call this array. I notice it is for special borders of sorts, so setlist_borders it is.