refactor(nui): Layout improvements

This commit is contained in:
Luke committed 2022-01-02 00:54:39 +01:00
1 parent ed03361f61
commit 2c15418011
5 files changed
+35 -12

No files matched your search

+7 -1
View File
@@ -72,7 +72,12 @@ const Resource: React.FC = () => {
{headerGroups.map((header): any => (
<Tr {...header.getHeaderGroupProps()}>
{header.headers.map((column) => (
<Th {...column.getHeaderProps(column.getSortByToggleProps())} color="white" fontFamily="Poppins">
<Th
{...column.getHeaderProps(column.getSortByToggleProps())}
color="white"
fontFamily="Poppins"
borderBottomColor="#313C4A"
>
{column.render('Header')}
<chakra.span pl="4">
{column.isSorted ? (
@@ -100,6 +105,7 @@ const Resource: React.FC = () => {
wordBreak="break-word"
textOverflow="ellipsis"
overflow="hidden"
borderBottomColor="#313C4A"
>
{cell.render('Cell')}
</Td>