Skip to content

Commit

Permalink
Set dynamic viewport height to RadzenLayout on screen widths less tha…
Browse files Browse the repository at this point in the history
…n 768px
  • Loading branch information
yordanov committed Nov 13, 2024
1 parent f32fe71 commit d549a31
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Radzen.Blazor/themes/components/blazor/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ $layout-background-color: var(--rz-body-background-color) !default;
overflow-x: hidden;
}

.rz-layout {
height: 100dvh;
}

.rz-header,
.rz-footer,
.rz-body {
Expand Down
2 changes: 1 addition & 1 deletion RadzenBlazorDemos/wwwroot/css/fluent-base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion RadzenBlazorDemos/wwwroot/css/fluent-dark-base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion RadzenBlazorDemos/wwwroot/css/material3-base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion RadzenBlazorDemos/wwwroot/css/material3-dark-base.css

Large diffs are not rendered by default.

0 comments on commit d549a31

Please sign in to comment.