File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
client/packages/lowcoder/src/comps/comps/tableComp Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ export const Wrapper = styled.div`
142
142
height: 100%;
143
143
position: absolute;
144
144
top: 0;
145
+ left: 0;
145
146
background: transparent !important;
146
147
padding: 8px;
147
148
Original file line number Diff line number Diff line change @@ -411,9 +411,9 @@ const TableTd = styled.td<TableTdProps>`
411
411
justify-content: ${ ( props ) => props . $customAlign === 'center' ? 'center' : props . $customAlign === 'right' ? 'flex-end' : 'flex-start' } ;
412
412
align-items: center;
413
413
text-align: ${ ( props ) => props . $customAlign || 'left' } ;
414
- padding: 0 8px;
415
414
box-sizing: border-box;
416
415
${ ( props ) => props . $tableSize === 'small' && `
416
+ padding: 1px 8px;
417
417
font-size: ${ props . $defaultThemeDetail . textSize == props . $style . textSize ? '14px !important' : props . $style . textSize + ' !important' } ;
418
418
font-style:${ props . $style . fontStyle } !important;
419
419
min-height: ${ props . $style . rowHeight || '14px' } ;
@@ -424,6 +424,7 @@ const TableTd = styled.td<TableTdProps>`
424
424
` } ;
425
425
` } ;
426
426
${ ( props ) => props . $tableSize === 'middle' && `
427
+ padding: 8px 8px;
427
428
font-size: ${ props . $defaultThemeDetail . textSize == props . $style . textSize ? '16px !important' : props . $style . textSize + ' !important' } ;
428
429
font-style:${ props . $style . fontStyle } !important;
429
430
min-height: ${ props . $style . rowHeight || '24px' } ;
@@ -434,6 +435,7 @@ const TableTd = styled.td<TableTdProps>`
434
435
` } ;
435
436
` } ;
436
437
${ ( props ) => props . $tableSize === 'large' && `
438
+ padding: 16px 16px;
437
439
font-size: ${ props . $defaultThemeDetail . textSize == props . $style . textSize ? '18px !important' : props . $style . textSize + ' !important' } ;
438
440
font-style:${ props . $style . fontStyle } !important;
439
441
min-height: ${ props . $style . rowHeight || '48px' } ;
You can’t perform that action at this time.
0 commit comments