mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-10 18:27:25 +03:00
Increased minimum charts height
This commit is contained in:
parent
e37fb1b4bd
commit
7cf49d2c1a
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ const renderGraph = (title, isBarChart, stats, max, highlightedStats, onClick) =
|
|||
}),
|
||||
};
|
||||
const graphData = generateGraphData(title, isBarChart, labels, data, highlightedData);
|
||||
const height = isBarChart && labels.length > 20 ? labels.length * 8 : null;
|
||||
const height = isBarChart && labels.length > 20 ? labels.length * 8 : 200;
|
||||
|
||||
// Provide a key based on the height, so that every time the dataset changes, a new graph is rendered
|
||||
return (
|
||||
|
|
|
@ -198,7 +198,7 @@ const ShortUrlVisits = ({ processStatsFromVisits, normalizeVisits }, OpenMapModa
|
|||
</div>
|
||||
<div className="col-lg-5 col-xl-6 mt-4 mt-lg-0">
|
||||
{showTableControls && (
|
||||
<span className={classNames({ 'row flex-row-reverse': isMobileDevice })}>
|
||||
<span className={classNames({ row: isMobileDevice })}>
|
||||
<span className={classNames({ 'col-6': isMobileDevice })}>
|
||||
<Button outline color="primary" block={isMobileDevice} onClick={toggleTable}>
|
||||
{showTable ? 'Hide' : 'Show'} table
|
||||
|
|
Loading…
Reference in a new issue