diff --git a/src/BootstrapBlazor.Shared/Pages/Samples/Rows.razor b/src/BootstrapBlazor.Shared/Pages/Samples/Rows.razor index 6266fe332e48dfda6436ec49314d60e65ca2a9d5..cdc2508437d8db33c985e7aec2db1de045f1dba3 100644 --- a/src/BootstrapBlazor.Shared/Pages/Samples/Rows.razor +++ b/src/BootstrapBlazor.Shared/Pages/Samples/Rows.razor @@ -28,6 +28,27 @@ Go somewhere + + +
Card 1
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+ Go somewhere +
+
+ + +
Card 2
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+ Go somewhere +
+
+ + +
Card 3
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+ Go somewhere +
+
diff --git a/src/BootstrapBlazor/Components/Table/Table.css b/src/BootstrapBlazor/Components/Table/Table.css index 6add06ff7d729f909fb7879ff3e3d7f5808e9e7e..2962d78848ba2cae664873edce02903db7e61870 100644 --- a/src/BootstrapBlazor/Components/Table/Table.css +++ b/src/BootstrapBlazor/Components/Table/Table.css @@ -202,8 +202,9 @@ } .table-hover tbody tr.is-detail:hover, +.table-hover tbody tr.is-editform, .table-hover tbody tr.is-editform:hover { - background-color: unset; + --bs-table-accent-bg: unset; } .table tbody tr.is-master td:first-child { @@ -339,12 +340,13 @@ text-align: right; } -.table tbody tr.active, +.table tbody tr.active:not(.is-edit), .table-row.active { background-color: var(--bb-table-selected-bg); } -.table-hover > tbody > tr.is-detail:hover { +.table-hover > tbody > tr.is-detail:hover, +.table-hover > tbody > tr.is-edit.active { --bs-table-accent-bg: none; } @@ -518,7 +520,7 @@ } .table-cell.is-incell { - margin: -.5rem; + margin: -7px -6px; } .table-cell.is-incell .switch { @@ -526,6 +528,10 @@ padding-left: 9px; } + .table-cell.is-incell .select { + width: 100%; + } + .table-sm .table-cell.is-incell { margin: -.25rem; } diff --git a/src/BootstrapBlazor/Components/Table/Table.razor b/src/BootstrapBlazor/Components/Table/Table.razor index a8fd8ffbc31d7de720d1ffa88636abecfafa7155..ca4713f90c816568673cd6ee916842b365011dc3 100644 --- a/src/BootstrapBlazor/Components/Table/Table.razor +++ b/src/BootstrapBlazor/Components/Table/Table.razor @@ -656,9 +656,9 @@ RenderFragment RenderEditForm => item => { - + -