mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 11:13:08 +02:00
4f15b6f7c2
This reverts commit ada04c1932
.
27 lines
450 B
Vue
27 lines
450 B
Vue
<template>
|
|
<div class="terlnhxf _formBlock">
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
const props = withDefaults(defineProps<{
|
|
minWidth?: number;
|
|
}>(), {
|
|
minWidth: 210,
|
|
});
|
|
|
|
const minWidth = props.minWidth + 'px';
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.terlnhxf {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(v-bind('minWidth'), 1fr));
|
|
grid-gap: 12px;
|
|
|
|
> ::v-deep(*) {
|
|
margin: 0 !important;
|
|
}
|
|
}
|
|
</style>
|