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:
parent
0ee3c1c2c0
commit
4a4226a6a9
2 changed files with 9 additions and 9 deletions
|
@ -163,13 +163,13 @@
|
||||||
border-radius:5px;
|
border-radius:5px;
|
||||||
}
|
}
|
||||||
.kg-card .kg-card-toolbar button.kg-card-delete {
|
.kg-card .kg-card-toolbar button.kg-card-delete {
|
||||||
text-transform: none !important;
|
|
||||||
/*font-family: "ghosticons" !important;*/
|
|
||||||
font-size: 1rem;
|
|
||||||
line-height: 1;
|
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 {
|
.kg-card textarea {
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
Cancel
|
Cancel
|
||||||
</button>--}}
|
</button>--}}
|
||||||
<button {{action "stopEdit"}} class='kg-card-button kg-card-button-save'>
|
<button {{action "stopEdit"}} class='kg-card-button kg-card-button-save'>
|
||||||
Done
|
Done
|
||||||
</button>
|
</button>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if card.card.buttons.edit}}
|
{{#if card.card.buttons.edit}}
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
Edit
|
Edit
|
||||||
</button>
|
</button>
|
||||||
{{/if}}
|
{{/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}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue