repeater styling

This commit is contained in:
Ben Haynes
2021-04-22 16:07:00 -04:00
parent 2c557b2c9e
commit de94e5d898
5 changed files with 26 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ body {
}
&.dense {
height: 34px;
height: 44px;
padding: 4px 8px;
& + & {

View File

@@ -643,6 +643,11 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
.v-list {
--v-list-padding: 0 0 4px;
}
.v-list-item {
.collection {
margin-right: 1ch;

View File

@@ -184,6 +184,11 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
.v-list {
--v-list-padding: 0 0 4px;
}
.actions {
margin-top: 12px;
}

View File

@@ -462,6 +462,11 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
.v-list {
--v-list-padding: 0 0 4px;
}
.actions {
margin-top: 8px;
}

View File

@@ -4,7 +4,7 @@
{{ $t('no_items') }}
</v-notice>
<v-list>
<v-list v-if="value && value.length > 0">
<draggable :force-fallback="true" :value="value" @input="$emit('input', $event)" handler=".drag-handle">
<v-list-item
:dense="value.length > 4"
@@ -190,6 +190,15 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
.v-notice {
margin-bottom: 6px;
}
.v-list {
--v-list-padding: 0 0 4px;
}
.v-list-item {
display: flex;
color: var(--foreground-normal);