0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

🗑 Get the trash icon back in card (#646)

closes TryGhost/Ghost#8340
- Use `{{inline-svg}}` helper instead of icon font
This commit is contained in:
Aileen Nowak 2017-04-17 18:42:47 +07:00 committed by Kevin Ansfield
parent 0ee3c1c2c0
commit 4a4226a6a9
2 changed files with 9 additions and 9 deletions

View file

@ -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 {

View file

@ -20,7 +20,7 @@
Cancel
</button>--}}
<button {{action "stopEdit"}} class='kg-card-button kg-card-button-save'>
Done
Done
</button>
{{else}}
{{#if card.card.buttons.edit}}
@ -28,7 +28,7 @@
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>