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.
1 parent 1a6487a commit a0af29cCopy full SHA for a0af29c
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