mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
more formatting
This commit is contained in:
@@ -197,23 +197,29 @@ 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) {
|
||||||
&:not(:last-of-type) {
|
padding-left: 8px;
|
||||||
border-right: 1px solid #565656;
|
}
|
||||||
}
|
&:not(:last-of-type) {
|
||||||
|
border-right: 1px solid #565656;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user