mirror of
https://github.com/directus/directus.git
synced 2026-02-02 10:25:05 -05:00
repeater styling
This commit is contained in:
@@ -229,7 +229,7 @@ body {
|
||||
}
|
||||
|
||||
&.dense {
|
||||
height: 34px;
|
||||
height: 44px;
|
||||
padding: 4px 8px;
|
||||
|
||||
& + & {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -184,6 +184,11 @@ export default defineComponent({
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
.v-list {
|
||||
--v-list-padding: 0 0 4px;
|
||||
}
|
||||
|
||||
.actions {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
@@ -462,6 +462,11 @@ export default defineComponent({
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
.v-list {
|
||||
--v-list-padding: 0 0 4px;
|
||||
}
|
||||
|
||||
.actions {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user