feature: make border transparent instead of 0px
This commit is contained in:
@ -21,25 +21,33 @@ const StyledTable = styled.table`
|
|||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
|
border-collapse: collapse;
|
||||||
|
|
||||||
th {
|
th {
|
||||||
|
border-collapse: collapse;
|
||||||
color: ${(props) => props.theme.text40};
|
color: ${(props) => props.theme.text40};
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-top: 1px solid ${(props) => props.theme.tertiaryBackground};
|
border: 1px solid ${(props) => props.theme.tertiaryBackground};
|
||||||
border-bottom: 1px solid ${(props) => props.theme.tertiaryBackground};
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
:not(:last-child) {
|
:last-child {
|
||||||
border-right: 1px solid ${(props) => props.theme.tertiaryBackground};
|
border-right-color: transparent;
|
||||||
|
}
|
||||||
|
:first-child {
|
||||||
|
border-left-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
|
border-collapse: collapse;
|
||||||
color: ${(props) => props.theme.text80};
|
color: ${(props) => props.theme.text80};
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-bottom: 1px solid ${(props) => props.theme.tertiaryBackground};
|
border: 1px solid ${(props) => props.theme.tertiaryBackground};
|
||||||
text-align: left;
|
text-align: left;
|
||||||
:not(:last-child) {
|
:last-child {
|
||||||
border-right: 1px solid ${(props) => props.theme.tertiaryBackground};
|
border-right-color: transparent;
|
||||||
|
}
|
||||||
|
:first-child {
|
||||||
|
border-left-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user