Skip to content

Commit e78be44

Browse files
committed
Updated Breadcrumb UG samples
1 parent 8d1fe2e commit e78be44

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

Breadcrumb/IconsandNavigationSample/Pages/Image.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
2222
.e-svg-home {
23-
background-image: url(home.svg);
23+
background-image: url(@Url.Content("~/css/home.svg"));
2424
height: 30px;
2525
width: 30px;
2626
}

Breadcrumb/IconsandNavigationSample/Pages/SVG.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<style>
1515
.e-svg-home {
16-
background-image: url(home.svg);
16+
background-image: url(@Url.Content("~/css/home.svg"));
1717
height: 30px;
1818
width: 30px;
1919
background-repeat: no-repeat;

Breadcrumb/OverflowandTemplateSample/Pages/SeparatorTemplate.cshtml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
@page
22
@model OverflowandTemplateSample.Pages.SeparatorTemplateModel
3-
@{
4-
string cls = "e-icons e-bullet-arrow";
5-
string cs = "<span class=" + cls + "></span>";
6-
var s = @Html.Raw(cs);
7-
}
8-
<ejs-breadcrumb id="itemTemplate" cssClass="e-breadcrumb-chips" separatorTemplate="@s">
3+
4+
<ejs-breadcrumb id="separatorTemplate" cssClass="e-breadcrumb-chips" separatorTemplate="@Html.Raw("<span class='e-icons e-bullet-arrow'></span>")">
95
<e-breadcrumb-items>
106
<e-breadcrumb-item text="Cart"></e-breadcrumb-item>
117
<e-breadcrumb-item text="Billing"></e-breadcrumb-item>
@@ -15,9 +11,11 @@
1511
</ejs-breadcrumb>
1612

1713
<style>
18-
.e-bullet-arrow::before {
19-
content: '\e253';
20-
font-size: 21px;
14+
15+
.e-bullet-arrow:before {
16+
content: "\e706";
17+
font-weight: 800;
18+
font-size: 12px;
2119
}
2220
2321
@@font-face {

0 commit comments

Comments
 (0)