table formatting

This commit is contained in:
Proddy
2022-05-03 19:50:07 +02:00
parent 66b3572dfe
commit 8e65e31ed6
4 changed files with 107 additions and 65 deletions

View File

@@ -100,22 +100,28 @@ const SettingsCustomization: FC = () => {
}
`,
BaseCell: `
padding-left: 8px;
border-top: 1px solid transparent;
border-right: 1px solid transparent;
border-bottom: 1px solid transparent;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:not(.stiff) > div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&:nth-of-type(1) {
left: 0px;
min-width: 124px;
width: 124px;
padding-left: 0px;
width: 120px;
min-width: 120px;
max-width: 120px;
}
&:nth-of-type(2) {
min-width: 70%;
width: 70%;
padding-left: 8px;
flex: 1;
}
&:nth-of-type(3) {
padding-right: 8px;
text-align: right;
width: 120px;
min-width: 120px;
}
`,
HeaderCell: `
@@ -435,7 +441,7 @@ const SettingsCustomization: FC = () => {
NAME
</Button>
</HeaderCell>
<HeaderCell resize>VALUE</HeaderCell>
<HeaderCell>VALUE</HeaderCell>
</HeaderRow>
</Header>
<Body>