diff --git a/themes/rainmeter-www/source/css/components/block.scss b/themes/rainmeter-www/source/css/components/block.scss index e9ab925..4968e22 100644 --- a/themes/rainmeter-www/source/css/components/block.scss +++ b/themes/rainmeter-www/source/css/components/block.scss @@ -56,8 +56,8 @@ .sub-block { width: 100%; margin: 2rem auto; - padding-left: ($grid-gutter-width / 2); - padding-right: ($grid-gutter-width / 2); + padding-left: calc($grid-gutter-width / 2); + padding-right: calc($grid-gutter-width / 2); svg { width: 200px; diff --git a/themes/rainmeter-www/source/css/components/gallery.scss b/themes/rainmeter-www/source/css/components/gallery.scss index 1307c57..3fe2e7c 100644 --- a/themes/rainmeter-www/source/css/components/gallery.scss +++ b/themes/rainmeter-www/source/css/components/gallery.scss @@ -6,10 +6,10 @@ text-align: center; .col-12 { - padding-left: ($grid-gutter-width / 2); - padding-right: ($grid-gutter-width / 2); - padding-top: ($grid-gutter-width / 2); - padding-bottom: ($grid-gutter-width / 2); + padding-left: calc($grid-gutter-width / 2); + padding-right: calc($grid-gutter-width / 2); + padding-top: calc($grid-gutter-width / 2); + padding-bottom: calc($grid-gutter-width / 2); } a {