Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 7x 7x 7x 7x 7x 7x 7x 7x | <template>
<div :class="$style.root" :gap="gap">
<slot></slot>
</div>
</template>
<script>
export default {
name: 'u-grid-layout-row',
props: {
repeat: Number,
gap: String,
},
};
</script>
<style module>
.root {
display: flex;
flex-wrap: wrap;
}
.root[justify="start"] { justify-content: flex-start; }
.root[justify="center"] { justify-content: center; }
.root[justify="end"] { justify-content: flex-end; }
.root[justify="space-between"] { justify-content: space-between; }
.root[justify="space-around"] { justify-content: space-around; }
.root[alignment="start"] { align-items: flex-start; }
.root[alignment="center"] { align-items: center; }
.root[alignment="end"] { align-items: flex-end; }
.root[alignment="baseline"] { align-items: baseline; }
.root[alignment="stretch"] { align-items: stretch; }
</style>
|