Skip to content

Commit

Permalink
fix(Table): no scroll on card view (#3036)
Browse files Browse the repository at this point in the history
* fix(Table): add scroll in card mode

* chore: bump version 8.3.1-beta07
  • Loading branch information
ArgoZhang authored Mar 6, 2024
1 parent eeb510b commit 687cfff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>8.3.1-beta06</Version>
<Version>8.3.1-beta07</Version>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
Expand Down
16 changes: 6 additions & 10 deletions src/BootstrapBlazor/Components/Table/Table.razor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
--bs-pagination-active-border-color: var(--bb-table-pagination-active-border-color);
}
}

.table-card {
&.table-fixed {
overflow: auto;
}
}
}

.table-container .table:not(.table-excel) .switch {
Expand Down Expand Up @@ -415,16 +421,6 @@ tr.active:not(.is-edit):hover {
border-bottom: var(--bs-border-width) solid var(--bs-border-color);
}

.table-row:first-child {
border-top-left-radius: var(--bs-border-radius);
border-top-right-radius: var(--bs-border-radius);
}

.table-row:last-child {
border-bottom-left-radius: var(--bs-border-radius);
border-bottom-right-radius: var(--bs-border-radius);
}

.table-row .table-cell:not(:last-child) {
padding-bottom: 0.5rem;
}
Expand Down

0 comments on commit 687cfff

Please sign in to comment.