Skip to content

Commit 8013ba4

Browse files
chore: render button with svg icon telerik/kendo#19541
1 parent 123b1e3 commit 8013ba4

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

KendoUIBootstrapIntegration/Content/styles.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@ header {
158158
color: #fff;
159159
}
160160

161-
#configure .k-i-menu {
162-
font-size: 18px !important;
163-
}
164-
165161
#demo {
166162
padding-top: 46px;
167163
}

KendoUIBootstrapIntegration/Views/Shared/_Layout.cshtml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
<header>
1919
<div class="container-sm">
2020
<div class="row">
21-
2221
<h1 class="col-md-4 header-description">Telerik UI for ASP.NET MVC<sup>&reg;</sup> &hearts; Bootstrap</h1>
23-
24-
<button id="configure" class="d-md-none">
25-
<span class="k-icon k-i-menu"></span>
26-
</button>
27-
22+
@(Html.Kendo().Button()
23+
.Name("configure")
24+
.Icon("menu")
25+
.Size(ComponentSize.Large)
26+
.HtmlAttributes(new { @class="d-md-none" })
27+
)
2828
<div id="configurator-wrap" class="col-md-8 d-none d-md-block">
2929
<div id="configurator" class="row">
3030
<label class="col-md-4 col-sm-12 col-xs-12">
@@ -119,9 +119,7 @@
119119
</header>
120120
@RenderBody()
121121
<script>
122-
123122
$(document).ready(function () {
124-
125123
changeFontSize();
126124
127125
$("#theme-list, #swatch-list, #font-size-list").addClass("ra-list");

0 commit comments

Comments
 (0)