mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
Mobile layout updates.
This commit is contained in:
parent
98b2ee29ef
commit
0b846b482d
17 changed files with 99 additions and 46 deletions
|
|
@ -7,7 +7,7 @@ import { dateFormat } from 'lib/date';
|
|||
import useLocale from 'hooks/useLocale';
|
||||
import useTheme from 'hooks/useTheme';
|
||||
import useForceUpdate from 'hooks/useForceUpdate';
|
||||
import { DEFAUL_CHART_HEIGHT, DEFAULT_ANIMATION_DURATION, THEME_COLORS } from 'lib/constants';
|
||||
import { DEFAULT_ANIMATION_DURATION, THEME_COLORS } from 'lib/constants';
|
||||
import styles from './BarChart.module.css';
|
||||
import ChartTooltip from './ChartTooltip';
|
||||
|
||||
|
|
@ -16,7 +16,6 @@ export default function BarChart({
|
|||
datasets,
|
||||
unit,
|
||||
records,
|
||||
height = DEFAUL_CHART_HEIGHT,
|
||||
animationDuration = DEFAULT_ANIMATION_DURATION,
|
||||
className,
|
||||
stacked = false,
|
||||
|
|
@ -215,7 +214,6 @@ export default function BarChart({
|
|||
data-tip=""
|
||||
data-for={`${chartId}-tooltip`}
|
||||
className={classNames(styles.chart, className)}
|
||||
style={{ height }}
|
||||
>
|
||||
<canvas ref={canvas} />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue