From 9a86d5f6691a4e6ace7b897e85eb0b7412637b8a Mon Sep 17 00:00:00 2001 From: remrem Date: Fri, 16 Dec 2022 09:51:37 +0100 Subject: [PATCH] css --- Blazor/Blazor/Components/Inventory.razor | 43 ++++++++++++-------- Blazor/Blazor/Components/Inventory.razor.css | 20 +++++++-- Blazor/Blazor/Components/InventoryList.razor | 1 - Blazor/Blazor/Pages/InventoryPage.razor | 15 +------ 4 files changed, 44 insertions(+), 35 deletions(-) diff --git a/Blazor/Blazor/Components/Inventory.razor b/Blazor/Blazor/Components/Inventory.razor index 690eaa8..d8ff761 100644 --- a/Blazor/Blazor/Components/Inventory.razor +++ b/Blazor/Blazor/Components/Inventory.razor @@ -1,26 +1,33 @@ @using Models; -

Inventory

-
- @for(int i = 0; i - } - else - { - - } - } -
-
-
Actions
-
+
+
+
+ @for(int i = 0; i + } + else + { + + } + } +
+ + +
Actions
+
+
+ +
+ +
+
- diff --git a/Blazor/Blazor/Components/Inventory.razor.css b/Blazor/Blazor/Components/Inventory.razor.css index 38c95cd..c496f69 100644 --- a/Blazor/Blazor/Components/Inventory.razor.css +++ b/Blazor/Blazor/Components/Inventory.razor.css @@ -1,8 +1,22 @@ -.css-grid { - grid-template-columns: repeat(6,minmax(0,1fr)); +.inventory-list { + width: 40%; +} + +.inventory { + width: 40%; +} + +.css-grid { + grid-template-columns: repeat(6, minmax(0,1fr)); gap: 10px; display: grid; - width: 40%; +} + +#master { + display: flex; + flex-direction: row; + justify-content: space-between; + width: 100%; } .actions { diff --git a/Blazor/Blazor/Components/InventoryList.razor b/Blazor/Blazor/Components/InventoryList.razor index 785d700..e111adb 100644 --- a/Blazor/Blazor/Components/InventoryList.razor +++ b/Blazor/Blazor/Components/InventoryList.razor @@ -1,5 +1,4 @@ @using Blazor.Models -

Inventory Item List

Counter +Inventory

Inventory

-
-
- - - -
- - -
- -
-
+