mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 20:36:43 -06:00
0144408500
* wip * Update maps.ts * wip * wip * wip * wip * Update base.vue * wip * wip * wip * wip * Update link.vue * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update privacy.vue * wip * wip * wip * wip * Update range.vue * wip * wip * wip * wip * Update profile.vue * wip * Update a.vue * Update index.vue * wip * Update sidebar.vue * wip * wip * Update account-info.vue * Update a.vue * wip * wip * Update sounds.vue * wip * wip * wip * wip * wip * wip * wip * wip * Update account-info.vue * Update account-info.vue * wip * wip * wip * Update d-persimmon.json5 * wip
56 lines
905 B
Vue
56 lines
905 B
Vue
<template>
|
|
<div class="rbusrurv" :class="{ wide: forceWide }" v-size="{ max: [400] }">
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
|
|
export default defineComponent({
|
|
props: {
|
|
forceWide: {
|
|
type: Boolean,
|
|
required: false,
|
|
default: false,
|
|
}
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.rbusrurv {
|
|
line-height: 1.4em;
|
|
background: var(--bg);
|
|
padding: 32px;
|
|
|
|
&:not(.wide).max-width_400px {
|
|
padding: 32px 0;
|
|
|
|
> ::v-deep(*) {
|
|
._formPanel {
|
|
border: solid 0.5px var(--divider);
|
|
border-radius: 0;
|
|
border-left: none;
|
|
border-right: none;
|
|
}
|
|
|
|
._form_group {
|
|
> * {
|
|
&:not(:first-child) {
|
|
&._formPanel, ._formPanel {
|
|
border-top: none;
|
|
}
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
&._formPanel, ._formPanel {
|
|
border-bottom: solid 0.5px var(--divider);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|