Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Data Grid › Missing icon
- This topic has 4 replies, 2 voices, and was last updated 3 years, 4 months ago by
Johan Iskandar.
-
AuthorPosts
-
August 5, 2022 at 10:16 am #103442
Johan Iskandar
ParticipantHello,
I create a stenciljs app and I want to use the smart grid, https://www.htmlelements.com/docs/stencil-grid/
but I do not get the icons for editing and deleting (it does not show on the grid)

Actually I have included the icons
@import url(“../../../node_modules/smart-webcomponents/source/styles/smart.default.css”);
@font-face {
font-family: smart-icons;
src:
url(assets/font/smart-icons.woff2) format(‘woff2’),
url(assets/font/smart-icons.woff) format(‘woff’),
url(assets/font/smart-icons.ttf) format(‘truetype’),
url(assets/font/smart-icons.eot) format(’embedded-opentype’);
font-weight: 400;
font-style: normal
}Please help. Thank you.
regards,Johan
-
This topic was modified 3 years, 4 months ago by
Johan Iskandar.
-
This topic was modified 3 years, 4 months ago by
Johan Iskandar.
-
This topic was modified 3 years, 4 months ago by
Johan Iskandar.
August 5, 2022 at 11:54 am #103446jackanderson80@gmail.com
ParticipantHi Johan,
You can try this instead:
@font-face { font-family: "smart-icons"; src: url("https://raw.githubusercontent.com/HTMLElements/smart-webcomponents-angular/master/source/styles/font/smart-icons.eot"); src: url("https://raw.githubusercontent.com/HTMLElements/smart-webcomponents-angular/master/source/styles/font/smart-icons.woff2") format("woff2"), url("https://raw.githubusercontent.com/HTMLElements/smart-webcomponents-angular/master/source/styles/font/smart-icons.woff") format("woff"), url("https://raw.githubusercontent.com/HTMLElements/smart-webcomponents-angular/master/source/styles/font/smart-icons.ttf") format("truetype"); font-weight: normal; font-style: normal; }August 5, 2022 at 12:36 pm #103447jackanderson80@gmail.com
ParticipantOne more question, did you try this with smart-webcomponents 14.2.40?
August 5, 2022 at 2:43 pm #103449Johan Iskandar
ParticipantThanks a ton!
August 5, 2022 at 2:44 pm #103450Johan Iskandar
ParticipantHello, actually it is version “smart-webcomponents”: “^14.2.0”
are there any issues with this? -
This topic was modified 3 years, 4 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
