Files
Website/resources/js/components/SMRow.vue
2023-01-24 15:13:03 +10:00

32 lines
498 B
Vue

<template>
<div :class="['row', { 'flex-fill': fill }]">
<slot></slot>
</div>
</template>
<script setup lang="ts">
defineProps({
fill: {
type: Boolean,
default: false,
},
});
</script>
<style lang="scss">
.row {
display: flex;
// margin: map-get($spacer, 2) auto;
margin: 0 auto;
align-items: top;
width: 100%;
max-width: 1200px;
}
@media screen and (max-width: 768px) {
.row {
flex-direction: column;
}
}
</style>