Skip to content

Commit 2c20dce

Browse files
ntachevaxristianstefanov
authored andcommitted
chore(common): fix no code block language errors
1 parent 10cc593 commit 2c20dce

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

knowledge-base/grid-kb-only-one-filtermenu-option.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,19 @@ There are two options:
3535
* Use a [custom filter template]({%slug grid-templates-filter%}). It provides full flexibility over the interface and building the filter descriptor.
3636
* Use custom CSS to [override the theme]({%slug themes-override%}) and hide the elements that provide the and/or secondary conditions. The example below demonstrates this approach. Note that **the required CSS is different for different UI for Blazor versions**:
3737

38-
<div class="skip-repl"></div>
39-
40-
/* UI for Blazor 3.0+ */
41-
.k-filter-menu-container > span:nth-child(n+3) {
42-
display: none;
43-
}
44-
45-
/* UI for Blazor 2.30- */
46-
.k-filter-menu-container > div > :nth-child(n+3) {
47-
display: none;
48-
}
38+
<div class="skip-repl"></div>
39+
````CSS
40+
<style>
41+
/* UI for Blazor 3.0+ */
42+
.k-filter-menu-container > span:nth-child(n+3) {
43+
display: none;
44+
}
45+
/* UI for Blazor 2.30- */
46+
.k-filter-menu-container > div > :nth-child(n+3) {
47+
display: none;
48+
}
49+
</style>
50+
````
4951

5052
>caption Hide And/Or filter options in the Grid/TreeList FilterMenu with CSS
5153

upgrade/breaking-changes/2-0-0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Until now, you had to include things like `@using Telerik.Blazor.Components.<Com
3131

3232
As of the `2.0.0` version, you only need to add the following to your main **~/_Imports.razor** file, and you have to remove the `@using` statements per component:
3333

34-
````
34+
````RAZOR
3535
@using Telerik.Blazor
3636
@using Telerik.Blazor.Components
3737
````
@@ -147,7 +147,7 @@ This is a list of the components that had their child tags removed or renamed.
147147
* The `TelerikGridEvents` and `EventsManager` tags are removed. The CRUD events of the grid are now available at its root-level tag, for example `<TelerikGrid OnRead=@ReadItems>`.
148148
* All child tags that had `Telerik` as a prefix do not have that prefix anymore.
149149

150-
````
150+
````RAZOR
151151
// Old
152152
<TelerikGrid Data=@GridData>
153153
<TelerikGridColumns>

0 commit comments

Comments
 (0)