This commit is contained in:
@@ -160,7 +160,7 @@ export default function WeatherGraphs({
|
|||||||
type='category'
|
type='category'
|
||||||
stroke={'var(--mantine-color-primary-0)'}
|
stroke={'var(--mantine-color-primary-0)'}
|
||||||
dataKey={(data) => {
|
dataKey={(data) => {
|
||||||
return new Date(data.startTime).toLocaleTimeString('en-US');
|
return new Date(data.startTime).toLocaleString('en-US');
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<YAxis stroke={'var(--mantine-color-primary-0)'} unit={'%'} domain={[0, 100]} />
|
<YAxis stroke={'var(--mantine-color-primary-0)'} unit={'%'} domain={[0, 100]} />
|
||||||
|
|||||||
@@ -202,13 +202,7 @@ export function ThemePlaylistStack({
|
|||||||
// style={{ position: 'absolute', top: 16 * 1, zIndex: 3 }}
|
// style={{ position: 'absolute', top: 16 * 1, zIndex: 3 }}
|
||||||
style={{
|
style={{
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: !(
|
top: 16,
|
||||||
hover &&
|
|
||||||
Number(themeList[0]) ===
|
|
||||||
Number(themeList[Math.floor(new Date().getHours() / 6)])
|
|
||||||
)
|
|
||||||
? 16 * 1
|
|
||||||
: 16,
|
|
||||||
zIndex: !(
|
zIndex: !(
|
||||||
hover &&
|
hover &&
|
||||||
Number(themeList[0]) ===
|
Number(themeList[0]) ===
|
||||||
|
|||||||
Reference in New Issue
Block a user