Table: Fixes row border style not showing and colored rows blending together (#59660)

* Table: Fixex row border style not showing and colored rows blending together

* Updated
This commit is contained in:
Torkel Ödegaard 2022-12-02 10:54:06 +01:00 committed by GitHub
parent ec1d93c8ab
commit 37c118b7dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,8 @@ export const getTableStyles = (theme: GrafanaTheme2) => {
label: ${overflowOnHover ? 'cellContainerOverflow' : 'cellContainerNoOverflow'};
padding: ${cellPadding}px;
width: 100%;
height: ${rowHeight}px;
// Cell height need to account for row border
height: ${rowHeight - 1}px;
display: flex;
align-items: center;
border-right: 1px solid ${borderColor};