fix ObjectGridView height
This commit is contained in:
Vendored
+3
-3
@@ -1416,7 +1416,7 @@
|
|||||||
return /* @__PURE__ */ createElement(
|
return /* @__PURE__ */ createElement(
|
||||||
"button",
|
"button",
|
||||||
{
|
{
|
||||||
class: "tile justify-start",
|
class: "tile flex-no",
|
||||||
"on:click": select,
|
"on:click": select,
|
||||||
draggable: "true",
|
draggable: "true",
|
||||||
"on:dragstart": dragStart
|
"on:dragstart": dragStart
|
||||||
@@ -1443,8 +1443,8 @@
|
|||||||
return messageObjects.value.size == 0 ? PlaceholderView() : /* @__PURE__ */ createElement(
|
return messageObjects.value.size == 0 ? PlaceholderView() : /* @__PURE__ */ createElement(
|
||||||
"div",
|
"div",
|
||||||
{
|
{
|
||||||
class: "width-100 height-100 grid gap padding scroll-v",
|
class: "width-100 max-height-100 grid gap padding scroll-v",
|
||||||
style: "grid-template-columns: repeat(auto-fill, minmax(170px, 1fr))",
|
style: "grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));",
|
||||||
"children:prepend": [messageObjects, objectConverter]
|
"children:prepend": [messageObjects, objectConverter]
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Vendored
+4
@@ -761,6 +761,10 @@ header button {
|
|||||||
height: calc(var(--header-height) - var(--gap-between-tiles) * 2);
|
height: calc(var(--header-height) - var(--gap-between-tiles) * 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.max-height-100 {
|
||||||
|
max-height: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
.ellipsis {
|
.ellipsis {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export function ObjectEntryView(
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
class="tile justify-start"
|
class="tile flex-no"
|
||||||
on:click={select}
|
on:click={select}
|
||||||
draggable="true"
|
draggable="true"
|
||||||
on:dragstart={dragStart}
|
on:dragstart={dragStart}
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ export function ObjectGridView(
|
|||||||
PlaceholderView()
|
PlaceholderView()
|
||||||
) : (
|
) : (
|
||||||
<div
|
<div
|
||||||
class="width-100 height-100 grid gap padding scroll-v"
|
class="width-100 max-height-100 grid gap padding scroll-v"
|
||||||
style="grid-template-columns: repeat(auto-fill, minmax(170px, 1fr))"
|
style="grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));"
|
||||||
children:prepend={[messageObjects, objectConverter]}
|
children:prepend={[messageObjects, objectConverter]}
|
||||||
></div>
|
></div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user