From d68b2ac5702b764e6dec39fb3b49c635b7ddc125 Mon Sep 17 00:00:00 2001 From: Peace Date: Fri, 5 Jul 2024 23:49:16 +0900 Subject: [PATCH] spacer --- .../Components/Layout/NavMenu.razor | 1 + .../Components/Pages/LayoutMainLayout.razor | 4 +-- .../Components/Pages/LayoutSpacer.razor | 35 +++++++++++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 BlazorFluentUI/Components/Pages/LayoutSpacer.razor diff --git a/BlazorFluentUI/Components/Layout/NavMenu.razor b/BlazorFluentUI/Components/Layout/NavMenu.razor index bc1ff66..a9542cf 100644 --- a/BlazorFluentUI/Components/Layout/NavMenu.razor +++ b/BlazorFluentUI/Components/Layout/NavMenu.razor @@ -17,6 +17,7 @@ Grid Layout MainLayout + Spacer diff --git a/BlazorFluentUI/Components/Pages/LayoutMainLayout.razor b/BlazorFluentUI/Components/Pages/LayoutMainLayout.razor index 274d779..5c30c34 100644 --- a/BlazorFluentUI/Components/Pages/LayoutMainLayout.razor +++ b/BlazorFluentUI/Components/Pages/LayoutMainLayout.razor @@ -2,10 +2,10 @@ @rendermode RenderMode.InteractiveServer -Layout +MainLayout - The FluentMainLayout component offers a framework for a layout of a page in a site + The FluentMainLayout component offers a framework for a layout of a page in a site. diff --git a/BlazorFluentUI/Components/Pages/LayoutSpacer.razor b/BlazorFluentUI/Components/Pages/LayoutSpacer.razor new file mode 100644 index 0000000..b827646 --- /dev/null +++ b/BlazorFluentUI/Components/Pages/LayoutSpacer.razor @@ -0,0 +1,35 @@ +@page "/layoutspacer" + +@rendermode RenderMode.InteractiveServer + +Spacer + + + The FluentSpacer component offers a space between components. + + +Spacer with flexible(default) width + + + + + + + + + + +Spacer with set width + + + + + + + + + + +@code { + +}