File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -208,8 +208,7 @@ It is also possible to generate sprite for each chunk by using `[chunkname]` pat
208
208
<a id =" plain-sprite " ></a >
209
209
### Plain sprite
210
210
211
- You can render plain sprite in extract mode without styles, usages and hidden by default (` syle="position: absolute; width: 0; height: 0" ` ).
212
- Pass ` plainSprite: true ` option to plugin constructor:
211
+ You can render plain sprite in extract mode without styles and usages. Pass ` plainSprite: true ` option to plugin constructor:
213
212
214
213
``` js
215
214
{
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ class SVGSpritePlugin {
32
32
if ( config . plainSprite ) {
33
33
spriteFactoryOptions . styles = false ;
34
34
spriteFactoryOptions . usages = false ;
35
- spriteFactoryOptions . attrs . style = [ 'position: absolute' , 'width: 0' , 'height: 0' ] . join ( '; ' ) ;
36
35
}
37
36
38
37
this . factory = ( { symbols } ) => {
You can’t perform that action at this time.
0 commit comments