Allow heights down to 120px for Table
This commit is contained in:
parent
74ee030c21
commit
76488e1aa1
|
@ -49,6 +49,7 @@
|
||||||
metadata: { dataSource: table },
|
metadata: { dataSource: table },
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
$: customHeight = $component?.styles?.normal?.height
|
||||||
|
|
||||||
// Provide additional data context for live binding eval
|
// Provide additional data context for live binding eval
|
||||||
export const getAdditionalDataContext = () => {
|
export const getAdditionalDataContext = () => {
|
||||||
|
@ -110,6 +111,7 @@
|
||||||
<div
|
<div
|
||||||
use:styleable={$component.styles}
|
use:styleable={$component.styles}
|
||||||
class:in-builder={$builderStore.inBuilder}
|
class:in-builder={$builderStore.inBuilder}
|
||||||
|
class:base-height={!customHeight}
|
||||||
>
|
>
|
||||||
<Provider {actions}>
|
<Provider {actions}>
|
||||||
<Grid
|
<Grid
|
||||||
|
@ -147,6 +149,10 @@
|
||||||
border: 1px solid var(--spectrum-global-color-gray-300);
|
border: 1px solid var(--spectrum-global-color-gray-300);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
min-height: 120px;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
div.base-height {
|
||||||
min-height: 410px;
|
min-height: 410px;
|
||||||
}
|
}
|
||||||
div.in-builder :global(*) {
|
div.in-builder :global(*) {
|
||||||
|
|
Loading…
Reference in New Issue