more formatting

This commit is contained in:
Proddy
2022-05-01 15:38:58 +02:00
parent 6b315d52a8
commit 6241999d2f
2 changed files with 22 additions and 10 deletions

View File

@@ -197,20 +197,26 @@ const DashboardData: FC = () => {
border-top: 1px solid #177ac9; border-top: 1px solid #177ac9;
border-bottom: 1px solid #177ac9; border-bottom: 1px solid #177ac9;
color: white; color: white;
cursor: 'pointer',
} }
`, `,
BaseCell: ` BaseCell: `
padding-left: 8px; cursor: pointer;
border-top: 1px solid transparent; border-top: 1px solid transparent;
border-right: 1px solid transparent; border-right: 1px solid transparent;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
padding-left: 16px;
width: 124px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:last-of-type { &:last-of-type {
text-align: right; text-align: right;
} }
`, `,
HeaderCell: ` HeaderCell: `
padding-left: 0px; &:nth-of-type(1) {
padding-left: 8px;
}
&:not(:last-of-type) { &:not(:last-of-type) {
border-right: 1px solid #565656; border-right: 1px solid #565656;
} }

View File

@@ -63,6 +63,7 @@ const SettingsCustomization: FC = () => {
font-size: 14px; font-size: 14px;
color: white; color: white;
height: 32px; height: 32px;
min-height: 32px;
`, `,
HeaderRow: ` HeaderRow: `
text-transform: uppercase; text-transform: uppercase;
@@ -103,6 +104,9 @@ const SettingsCustomization: FC = () => {
border-top: 1px solid transparent; border-top: 1px solid transparent;
border-right: 1px solid transparent; border-right: 1px solid transparent;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:nth-of-type(1) { &:nth-of-type(1) {
left: 0px; left: 0px;
min-width: 124px; min-width: 124px;
@@ -115,12 +119,14 @@ const SettingsCustomization: FC = () => {
} }
`, `,
HeaderCell: ` HeaderCell: `
padding-left: 0px;
&:nth-of-type(1) { &:nth-of-type(1) {
padding-left: 24px; padding-left: 24px;
} }
&:nth-of-type(3) { &:nth-of-type(2) {
border-left: 1px solid #565656; padding-left: 0px;
}
&:not(:last-of-type) {
border-right: 1px solid #565656;
} }
` `
}); });
@@ -429,7 +435,7 @@ const SettingsCustomization: FC = () => {
NAME NAME
</Button> </Button>
</HeaderCell> </HeaderCell>
<HeaderCell>VALUE</HeaderCell> <HeaderCell resize>VALUE</HeaderCell>
</HeaderRow> </HeaderRow>
</Header> </Header>
<Body> <Body>