Add style components for zebra-tables and responsive-tables.

This commit is contained in:
Fredrik Jonsson 2023-04-23 16:47:57 +02:00
commit a5e759d988

View file

@ -11,3 +11,17 @@
}
}
}
@mixin respond-to-max($breakpoint) {
// If the key exists in the map
@if map-has-key($breakpoints, $breakpoint) {
// Prints a media query based on the value
@media (max-width: map-get($breakpoints, $breakpoint)) {
@content;
}
} @else {
@media (max-width: $breakpoint) {
@content;
}
}
}