mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-15 11:23:08 +02:00
37 lines
479 B
Vue
37 lines
479 B
Vue
|
<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>
|