Skip to content

Commit 4db0b6a

Browse files
committed
Udpate
1 parent 58e9e25 commit 4db0b6a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/design-system/src/elements/toniq-list-table/toniq-list-table.element.ts

+12-1
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,13 @@ export const ToniqListTable = defineToniqElement<ListTableInputs>()({
226226
will-change: filter;
227227
}
228228
229+
.column-wrapper.fill {
230+
flex: 1;
231+
}
232+
229233
.column-content {
230-
min-height: 48px;
234+
height: 48px;
235+
max-height: 48px;
231236
width: -webkit-fill-available;
232237
width: -moz-available;
233238
align-items: center;
@@ -264,6 +269,10 @@ export const ToniqListTable = defineToniqElement<ListTableInputs>()({
264269
border-top-color: ${toniqColors.dropShadow.backgroundColor};
265270
}
266271
272+
.content-wrapper {
273+
width: 100%;
274+
}
275+
267276
.loading-wrapper {
268277
transition: ${toniqDurations.pretty};
269278
opacity: 1;
@@ -398,6 +407,7 @@ export const ToniqListTable = defineToniqElement<ListTableInputs>()({
398407
class=${classMap({
399408
'column-wrapper': true,
400409
sticky: isSticky,
410+
fill: !!columnItem.option?.spaceEvenly,
401411
})}
402412
style=${ifDefined(
403413
isSticky
@@ -433,6 +443,7 @@ export const ToniqListTable = defineToniqElement<ListTableInputs>()({
433443
`,
434444
html`
435445
<div
446+
class="content-wrapper"
436447
${listen('click', (event) => {
437448
event.preventDefault();
438449
event.stopPropagation();

0 commit comments

Comments
 (0)