fix: logs table height
This commit is contained in:
parent
2b8f140c77
commit
22af42636b
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,8 @@ import React, { memo } from 'react'
|
||||||
const TableRow = memo(
|
const TableRow = memo(
|
||||||
({ className, children, header, error, success, size = 'sm', ...props }) => {
|
({ className, children, header, error, success, size = 'sm', ...props }) => {
|
||||||
const classnamesObj = {
|
const classnamesObj = {
|
||||||
'p-1 h-12 bg-white': !header,
|
'p-1 bg-white': !header,
|
||||||
|
'h-12': !header && size !== 'sm' && size !== 'lg',
|
||||||
'h-8': !header && size === 'sm',
|
'h-8': !header && size === 'sm',
|
||||||
'h-9 font-bold text-base ': !header && size === 'lg',
|
'h-9 font-bold text-base ': !header && size === 'lg',
|
||||||
'bg-misty-rose': error,
|
'bg-misty-rose': error,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue