Fix css template for sprites
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{{#sprites}}
|
||||
.{{name}} {
|
||||
background-image: url({{{escaped_image}}});
|
||||
background-position: {{px.offset_x}} {{px.offset_y}};
|
||||
width: {{px.width}};
|
||||
height: {{px.height}};
|
||||
}
|
||||
{{#if custom}}
|
||||
.customize-option.{{name}} {
|
||||
background-image: url({{{escaped_image}}});
|
||||
background-position: {{custom.px.offset_x}} {{custom.px.offset_y}};
|
||||
width: {{custom.px.width}};
|
||||
height: {{custom.px.height}};
|
||||
}
|
||||
{{/if}}
|
||||
{{/sprites}}
|
||||
Reference in New Issue
Block a user