css subgrid
This commit is contained in:
7
Shogi.UI/Shared/Stretch.razor
Normal file
7
Shogi.UI/Shared/Stretch.razor
Normal file
@@ -0,0 +1,7 @@
|
||||
<div>
|
||||
@ChildContent
|
||||
</div>
|
||||
|
||||
@code {
|
||||
[Parameter] public RenderFragment ChildContent { get; set; } = default!;
|
||||
}
|
||||
5
Shogi.UI/Shared/Stretch.razor.css
Normal file
5
Shogi.UI/Shared/Stretch.razor.css
Normal file
@@ -0,0 +1,5 @@
|
||||
div {
|
||||
display: grid;
|
||||
place-content: stretch;
|
||||
height: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user