diff --git a/src/components/Breadcrumb/index.module.scss b/src/components/Breadcrumb/index.module.scss index 45a8253..a6565ca 100644 --- a/src/components/Breadcrumb/index.module.scss +++ b/src/components/Breadcrumb/index.module.scss @@ -1,3 +1,5 @@ +@use '../../settings/styles/utils/helpers/mixin' as mix; + .list { display: inline-flex; align-items: center; @@ -5,12 +7,10 @@ .initial { img { - width: 16px; - height: 16px; + @include mix.square(16px); - @media screen and (min-width: 2500px) { - width: 31.25px; - height: 31.25px; + @media only screen and (min-width: 2500px) { + @include mix.square(31.25px); } } } @@ -26,12 +26,10 @@ } .divider { - width: 8px; - height: 8px; + @include mix.square(8px); - @media screen and (min-width: 2500px) { - width: 15.62px; - height: 15.62px; + @media only screen and (min-width: 2500px) { + @include mix.square(15.62px); } } diff --git a/src/settings/styles/utils/helpers/_mixin.scss b/src/settings/styles/utils/helpers/_mixin.scss index e69de29..80ec28f 100644 --- a/src/settings/styles/utils/helpers/_mixin.scss +++ b/src/settings/styles/utils/helpers/_mixin.scss @@ -0,0 +1,4 @@ +@mixin square($size) { + width: #{$size}; + height: #{$size}; +}