summaryrefslogtreecommitdiff
path: root/src/client/components/form/tuple.vue
blob: 6c8a22d1893bcf0408791fda7a31a8e07c9c3684 (plain)
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
<template>
<div class="wthhikgt _formItem" v-size="{ max: [500] }">
	<slot></slot>
</div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
});
</script>

<style lang="scss" scoped>
.wthhikgt {
	position: relative;
	display: flex;

	> ::v-deep(*) {
		flex: 1;
		margin: 0;

		&:not(:last-child) {
			margin-right: 16px;
		}
	}

	&.max-width_500px {
		display: block;

		> ::v-deep(*) {
			margin: inherit;
		}
	}
}
</style>