mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
TransferRateGraph: explicitly declare width and height to 100%
Fix the "graph not working in Safari" issue. Bug: #627
This commit is contained in:
@@ -88,7 +88,7 @@ const TransferRateGraph: FC<TransferRateGraphProps> = observer(
|
||||
const interpolation = curveMonotoneX;
|
||||
|
||||
return (
|
||||
<svg className="graph" id={id}>
|
||||
<svg className="graph" id={id} height="100%" width="100%">
|
||||
<defs>
|
||||
<TransferRateGraphGradient direction="upload" />
|
||||
<TransferRateGraphGradient direction="download" />
|
||||
|
||||
Reference in New Issue
Block a user