Skip to content
Snippets Groups Projects
Commit d086b12b authored by Eryk Mika's avatar Eryk Mika
Browse files

fix: remove right/left width for rows border

parent 6747c4aa
Branches
Tags
1 merge request!2Devel
Pipeline #484950 failed
...@@ -30,6 +30,7 @@ export default function TableBody({tableStyles, updateCell, rows, states}) { ...@@ -30,6 +30,7 @@ export default function TableBody({tableStyles, updateCell, rows, states}) {
{Array.from({length: 2}).map((_, trIndex) => ( {Array.from({length: 2}).map((_, trIndex) => (
<tr className={"fitb-item-table-row"} style={{ <tr className={"fitb-item-table-row"} style={{
background: (multipleBodyBackground && trIndex === 1) ? bodyBackgroundEven : bodyBackground, background: (multipleBodyBackground && trIndex === 1) ? bodyBackgroundEven : bodyBackground,
borderWidth: "0px",
borderStyle: "solid", borderStyle: "solid",
borderColor: bodyBorderRowColor, borderColor: bodyBorderRowColor,
borderTopWidth: bodyBorderRowWidthTop, borderTopWidth: bodyBorderRowWidthTop,
...@@ -39,6 +40,7 @@ export default function TableBody({tableStyles, updateCell, rows, states}) { ...@@ -39,6 +40,7 @@ export default function TableBody({tableStyles, updateCell, rows, states}) {
states[index] ? states[index] ?
<td className={"fitb-item-table-cell"} key={index} <td className={"fitb-item-table-cell"} key={index}
style={{ style={{
borderWidth: "0px",
borderStyle: "solid", borderStyle: "solid",
borderColor: bodyBorderColumnColor, borderColor: bodyBorderColumnColor,
borderLeftWidth: bodyBorderColumnWidthLeft, borderLeftWidth: bodyBorderColumnWidthLeft,
......
...@@ -21,6 +21,7 @@ export default function TableHead( {headers, updateHeader, tableStyles, states} ...@@ -21,6 +21,7 @@ export default function TableHead( {headers, updateHeader, tableStyles, states}
return ( return (
<thead className={"fitb-item-table-header"} style={{ <thead className={"fitb-item-table-header"} style={{
borderStyle: "solid", borderStyle: "solid",
borderWidth: "0px",
borderColor: headerBorderRowColor, borderColor: headerBorderRowColor,
borderTopWidth: headerBorderRowWidthTop, borderTopWidth: headerBorderRowWidthTop,
borderBottomWidth: headerBorderRowWidthBottom, borderBottomWidth: headerBorderRowWidthBottom,
...@@ -33,6 +34,7 @@ export default function TableHead( {headers, updateHeader, tableStyles, states} ...@@ -33,6 +34,7 @@ export default function TableHead( {headers, updateHeader, tableStyles, states}
<th className={"fitb-item-table-header-cell"} key={index} <th className={"fitb-item-table-header-cell"} key={index}
style={{ style={{
borderStyle: "solid", borderStyle: "solid",
borderWidth: "0px",
borderColor: headerBorderColumnColor, borderColor: headerBorderColumnColor,
borderLeftWidth: headerBorderColumnWidthLeft, borderLeftWidth: headerBorderColumnWidthLeft,
borderRightWidth: headerBorderColumnWidthRight, borderRightWidth: headerBorderColumnWidthRight,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment