Because of the way browsers render SVGs as background images, background SVGs will sometimes not perfectly hug the top or bottom of their containers because of rounding in the calculation of the width from the height, or height from the width. This commit fixes a number of the shapes displaying this behaviour, by making their viewbox a perfect square, this means that whenever the width or height of the SVG is determined by the brower, it will use the same number for the height or width respectively because the aspect ratio is exactly one, rather than using the closest integer approximation of the aspect ratio, which causes those artifacts. task-2319484 closes odoo/odoo#56200 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
1.5 KiB
1.5 KiB