Skip to content

Commit 1be4b06

Browse files
committed
Add optional .rz-scrollbars css class
1 parent 155c3a4 commit 1be4b06

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Radzen.Blazor/themes/components/blazor/_scrollbar.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ $scrollbar-size: 16px !default;
4141
}
4242

4343

44-
.rz-layout {
44+
.rz-layout,
45+
.rz-scrollbars {
4546
&::-webkit-scrollbar,
4647
::-webkit-scrollbar {
4748
background-color: var(--rz-scrollbar-background-color);

RadzenBlazorDemos.Host/Pages/_Host.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<component type="typeof(RadzenBlazorDemos.Shared.Theme)" render-mode="Static" />
3838
<link rel="stylesheet" data-name="vs/editor/editor.main" href="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.34.1/min/vs/editor/editor.main.min.css">
3939
</head>
40-
<body>
40+
<body class="rz-scrollbars">
4141
<component type="typeof(RadzenBlazorDemos.App)" render-mode="WebAssemblyPrerendered" />
4242
<div id="blazor-error-ui">
4343
<environment include="Staging,Production">

RadzenBlazorDemos.Server/Pages/_Host.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<component type="typeof(RadzenBlazorDemos.Shared.Theme)" render-mode="Static" />
3939
<link rel="stylesheet" data-name="vs/editor/editor.main" href="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.34.1/min/vs/editor/editor.main.min.css">
4040
</head>
41-
<body>
41+
<body class="rz-scrollbars">
4242
<component type="typeof(RadzenBlazorDemos.App)" render-mode="ServerPrerendered" />
4343
<div id="blazor-error-ui">
4444
<environment include="Staging,Production">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy