This commit is contained in:
@@ -160,7 +160,7 @@ export default function WeatherGraphs({
|
||||
type='category'
|
||||
stroke={'var(--mantine-color-primary-0)'}
|
||||
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]} />
|
||||
|
||||
@@ -202,13 +202,7 @@ export function ThemePlaylistStack({
|
||||
// style={{ position: 'absolute', top: 16 * 1, zIndex: 3 }}
|
||||
style={{
|
||||
position: 'absolute',
|
||||
top: !(
|
||||
hover &&
|
||||
Number(themeList[0]) ===
|
||||
Number(themeList[Math.floor(new Date().getHours() / 6)])
|
||||
)
|
||||
? 16 * 1
|
||||
: 16,
|
||||
top: 16,
|
||||
zIndex: !(
|
||||
hover &&
|
||||
Number(themeList[0]) ===
|
||||
|
||||
Reference in New Issue
Block a user