mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
add TODOs for formatting reminders
This commit is contained in:
@@ -100,13 +100,16 @@ const Dashboard = () => {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: #1e1e1e;
|
background-color: #1e1e1e;
|
||||||
.td {
|
.td {
|
||||||
|
// TODO remove
|
||||||
// border-top: 1px solid #0000;
|
// border-top: 1px solid #0000;
|
||||||
// border-bottom: 1px solid #0000;
|
// border-bottom: 1px solid #0000;
|
||||||
}
|
}
|
||||||
&.tr.tr-body.row-select.row-select-single-selected {
|
// TODO remove
|
||||||
background-color: #177ac9;
|
// &.tr.tr-body.row-select.row-select-single-selected {
|
||||||
font-weight: normal;
|
// background-color: #177ac9;
|
||||||
}
|
// font-weight: normal;
|
||||||
|
// color: red;
|
||||||
|
// }
|
||||||
&:hover .td {
|
&:hover .td {
|
||||||
background-color: #177ac9;
|
background-color: #177ac9;
|
||||||
// border-top: 1px solid #177ac9;
|
// border-top: 1px solid #177ac9;
|
||||||
@@ -114,12 +117,12 @@ const Dashboard = () => {
|
|||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
BaseCell: `
|
BaseCell: `
|
||||||
&:nth-of-type(2) {
|
&:nth-of-type(2) {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
&:nth-of-type(3) {
|
&:nth-of-type(3) {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -145,7 +148,7 @@ const Dashboard = () => {
|
|||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
indentation: 50
|
indentation: 45
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -299,13 +302,11 @@ const Dashboard = () => {
|
|||||||
<Cell>
|
<Cell>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
placement="left"
|
placement="left"
|
||||||
title={
|
title={formatValue(LL, di.dv?.v, di.dv?.u)}
|
||||||
di.dv ? formatValue(LL, di.dv.v, di.dv.u) : ''
|
|
||||||
}
|
|
||||||
arrow
|
arrow
|
||||||
>
|
>
|
||||||
<span style={{ color: 'lightgrey' }}>
|
<span style={{ color: 'lightgrey' }}>
|
||||||
{di.dv ? formatValue(LL, di.dv.v, di.dv.u) : ''}
|
{formatValue(LL, di.dv?.v, di.dv?.u)}
|
||||||
</span>
|
</span>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Cell>
|
</Cell>
|
||||||
|
|||||||
Reference in New Issue
Block a user