We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a6487a + a0af29c commit 5146d72Copy full SHA for 5146d72
src/InitialAvatar.php
@@ -683,6 +683,7 @@ protected function makeSvgAvatar()
683
// Original document
684
$image = new SVG($this->getWidth(), $this->getHeight());
685
$document = $image->getDocument();
686
+ $document->setAttribute('viewBox', "0 0 {$this->getWidth()} {$this->getHeight()}");
687
688
// Background
689
if ($this->getRounded()) {
0 commit comments