Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
🗑 Get the trash icon back in card (#646)
Browse files Browse the repository at this point in the history
closes TryGhost/Ghost#8340
- Use `{{inline-svg}}` helper instead of icon font
  • Loading branch information
aileen authored and kevinansfield committed Apr 17, 2017
1 parent 7077876 commit eb821b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions app/styles/addons/gh-koenig/gh-koenig.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@
border-radius:5px;
}
.kg-card .kg-card-toolbar button.kg-card-delete {
text-transform: none !important;
/*font-family: "ghosticons" !important;*/
font-size: 1rem;
line-height: 1;
font-weight: normal !important;
font-style: normal !important;
font-variant: normal !important;
}

.kg-card .kg-card-toolbar button.kg-card-delete svg {
height: 1.4rem;
width: auto;
fill: color(var(--lightgrey) l(-10%));
}

.kg-card textarea {
Expand Down
6 changes: 3 additions & 3 deletions lib/gh-koenig/addon/templates/components/koenig-card.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
Cancel
</button>--}}
<button {{action "stopEdit"}} class='kg-card-button kg-card-button-save'>
Done
Done
</button>
{{else}}
{{#if card.card.buttons.edit}}
<button {{action "startEdit"}} class='kg-card-button kg-card-button-text'>
Edit
</button>
{{/if}}
<button class='kg-card-button kg-card-delete' {{action "delete"}}></button>
<button class='kg-card-button kg-card-delete' {{action "delete"}}>{{inline-svg "trash"}}</button>
{{/if}}
</div>
</div>
</div>

0 comments on commit eb821b1

Please sign in to comment.