forked from M3-Academy/desafio-react-e-typescript
refactor(breadcrumb): created mixin for styles
This commit is contained in:
parent
8e1cddc944
commit
f95235f6dc
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,4 @@
|
||||
@mixin square($size) {
|
||||
width: #{$size};
|
||||
height: #{$size};
|
||||
}
|
Loading…
Reference in New Issue
Block a user