Added profile flush.

This commit is contained in:
DebaucheryLibrarian
2020-12-30 02:23:43 +01:00
parent cdc963c42c
commit af67d733ad
11 changed files with 123 additions and 23 deletions

View File

@@ -1,10 +1,15 @@
<template>
<div class="children">
<EntityTile
<div
v-for="child in entity.children"
:key="`child-${child.id}`"
:entity="child"
/>
class="tile-container"
>
<EntityTile
:entity="child"
@load="(event) => $emit('load', event)"
/>
</div>
</div>
</template>
@@ -15,6 +20,7 @@ export default {
components: {
EntityTile,
},
emits: ['load'],
props: {
entity: {
type: Object,
@@ -33,13 +39,14 @@ export default {
padding: 1rem;
margin: 0 1rem 0 0;
border-bottom: solid 1px var(--darken-hint);
overflow-x: auto;
scroll-behavior: smooth;
scrollbar-width: none;
.tile-container {
display: inline-block;
padding: 0 1rem 0 0;
}
.tile {
width: 15rem;
margin: 0 1rem 0 0;
}
&.expanded {
@@ -52,10 +59,6 @@ export default {
width: 100%;
}
}
&::-webkit-scrollbar {
display: none;
}
}
@media(max-width: $breakpoint0) {