mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 06:53:03 +00:00
Fixes for SASS 1.33. Update Bootstrap & FortAwesome to support
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
@use 'sass:math';
|
||||
|
||||
@function calculateRem($size) {
|
||||
$remSize: $size / 16px;
|
||||
$remSize: math.div($size, 16px);
|
||||
@return $remSize;
|
||||
}
|
||||
|
||||
|
||||
@function strip-unit($number) {
|
||||
@if type-of($number) == 'number' and not unitless($number) {
|
||||
@return $number / ($number * 0 + 1);
|
||||
@return math.div($number , ($number * 0 + 1));
|
||||
}
|
||||
@return $number;
|
||||
}
|
||||
|
Reference in New Issue
Block a user