Skip to content

Commit

Permalink
fix percy
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed May 2, 2024
1 parent e9df4fa commit c0c300c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion addon/components/es-card-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{!-- Bug link: https://github.com/ember-template-lint/ember-template-lint/issues/1286 --}}

{{#if @icon}}
<EsIcon @icon={{@icon}} class="card__icon" width="60px" />
<EsIcon @icon={{@icon}} @class="card__icon" width="60px" />
{{/if}}

{{#if @image}}
Expand Down
4 changes: 2 additions & 2 deletions addon/components/es-pagination.hbs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<div class="pagination-wrapper">
{{#if (and (has-block "previous") @showPrevious)}}
<div class="previous-wrapper">
<img alt="left arrow" src="/images/icons/arrow-icon.svg" />
<img alt="left arrow" src="/images/arrow-icon.svg" />
<div>{{yield to='previous'}}</div>
</div>
{{/if}}

{{#if (and (has-block "next") @showNext)}}
<div class="next-wrapper">
<div>{{yield to='next'}}</div>
<img alt="right arrow" src="/images/icons/arrow-icon.svg" />
<img alt="right arrow" src="/images/arrow-icon.svg" />
</div>
{{/if}}
</div>
2 changes: 0 additions & 2 deletions addon/constants/icons.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,7 @@ const staticPostcssAddonTree = require('static-postcss-addon-tree');
module.exports = {
name: require('./package').name,

options: {
svgJar: {
sourceDirs: [
'public/images/icons',
'node_modules/ember-styleguide/public/images/icons',
'tests/dummy/public/images/icons'
]
},
},
options: {},

treeForAddon() {
var tree = this._super(...arguments);
Expand Down
1 change: 1 addition & 0 deletions public/images/arrow-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c0c300c

Please sign in to comment.