Fix heatmap rendering in Chrome and Safari (#13645)
Fix heatmap rendering in Chrome and Safari (#13645)

* Fix heatmap rendering in Chrome and Safari

Apparently SVG inside flexbox renders slightly different across browsers
where Firefox would stretch to fit the parent while Chrome and safari
wouldn't. Stretch the SVG to the width of the parent for consistent
rendering.

Also did a few minor tweaks on the min-height of the box so it takes up
less space on smaller responsive breakpoints.

Fixes: https://github.com/go-gitea/gitea/issues/13634
Fixes: https://github.com/go-gitea/gitea/pull/13637

* position tweak

Co-authored-by: zeripath <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>
cez81/gitea,cez81/gitea,vdbt/gitea,cez81/gitea,vdbt/gitea,go-gitea/gitea,go-gitea/gitea,go-gitea/gitea