mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-15 00:06:46 +00:00
:octocat: QRMarkup::svg() removed width/height in favor of viewBox #30
This commit is contained in:
@@ -137,6 +137,17 @@ trait QROptionsTrait{
|
||||
*/
|
||||
protected $svgDefs = '<style>rect{shape-rendering:crispEdges}</style>';
|
||||
|
||||
/**
|
||||
* SVG viewBox size. a single integer number which defines width/height of the viewBox attribute.
|
||||
*
|
||||
* viewBox="0 0 x x"
|
||||
*
|
||||
* @see https://css-tricks.com/scale-svg/#article-header-id-3
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
protected $svgViewBoxSize;
|
||||
|
||||
/**
|
||||
* string substitute for dark
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user