mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-23 02:58:09 +09: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>
|