feat: 默认固定标签页
This commit is contained in:
parent
399fb4a700
commit
5a1b8602dd
|
@ -4,7 +4,7 @@
|
|||
IsFullSide="@IsFullSide" IsFixedHeader="@IsFixedHeader" IsFixedFooter="@IsFixedFooter" ShowFooter="@ShowFooter"
|
||||
Menus="@MenuItems" UseTabSet="@UseTabSet"
|
||||
TabDefaultUrl="/Home/Index"
|
||||
AdditionalAssemblies="new[] { GetType().Assembly }" OnAuthorizing="@OnAuthorizing" class="@Theme">
|
||||
AdditionalAssemblies="new[] { GetType().Assembly }" OnAuthorizing="@OnAuthorizing" class="@Theme is-fixed-tab">
|
||||
<Header>
|
||||
<span class="ml-3 flex-sm-fill d-none d-sm-block">Bootstrap of Blazor</span>
|
||||
<Widget></Widget>
|
||||
|
|
|
@ -310,3 +310,17 @@
|
|||
.widget .dropdown-item:not(:nth-of-type(odd)):active {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
.is-page .layout-main > .tabs {
|
||||
height: calc(100vh - 90px);
|
||||
}
|
||||
|
||||
.is-fixed-tab .tabs-body {
|
||||
height: calc(100vh - 89px - var(--bb-footer-height));
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.is-fixed-tab .tabs-body .tabs-body-content {
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue