Invert relationship cells properly when required

This commit is contained in:
Andrew Kingston 2023-06-19 17:57:58 +01:00
parent dda4987848
commit 9942956a06
1 changed files with 11 additions and 1 deletions

View File

@ -245,7 +245,13 @@
})
</script>
<div class="wrapper" class:editable class:focused style="--color:{color};">
<div
class="wrapper"
class:editable
class:focused
class:invertY
style="--color:{color};"
>
<div class="container" bind:this={container}>
<div
class="values"
@ -352,6 +358,10 @@
max-height: none;
overflow: visible;
}
.wrapper.invertY {
top: auto;
bottom: 0;
}
.container {
min-height: var(--row-height);