45 lines
753 B
Vue
45 lines
753 B
Vue
<template>
|
|
<div
|
|
:class="['row', { 'row-break-lg': breakLarge }, { 'flex-fill': fill }]">
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
defineProps({
|
|
fill: {
|
|
type: Boolean,
|
|
default: false,
|
|
required: false,
|
|
},
|
|
breakLarge: {
|
|
type: Boolean,
|
|
default: false,
|
|
required: false,
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin: 8px auto;
|
|
align-items: top;
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
}
|
|
|
|
@media screen and (max-width: 992px) {
|
|
.row.row-break-lg {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.sm-row {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
</style>
|