diff --git a/myBlazorApp/myBlazorApp/Pages/Inventory.razor b/myBlazorApp/myBlazorApp/Pages/Inventory.razor index 36438a1..8a84ed5 100644 --- a/myBlazorApp/myBlazorApp/Pages/Inventory.razor +++ b/myBlazorApp/myBlazorApp/Pages/Inventory.razor @@ -12,29 +12,45 @@

List of Items

@*SearchBar*@ - + + +

+ CurrentCulture: @CultureInfo.CurrentCulture +

+ +
- - - - - - @if (File.Exists($"{WebHostEnvironment.WebRootPath}/images/{context.Name}.png")) - { - @context.DisplayName - } - else - { - @context.DisplayName - } - - - +
+
+

+ List of items +

+ @*SearchBar*@ + +
+ + + + + + + @if (File.Exists($"{WebHostEnvironment.WebRootPath}/images/{context.Name}.png")) + { + @context.DisplayName + } + else + { + @context.DisplayName + } + + + +
diff --git a/myBlazorApp/myBlazorApp/Pages/Inventory.razor.css b/myBlazorApp/myBlazorApp/Pages/Inventory.razor.css index 34491e9..c3bcf2e 100644 --- a/myBlazorApp/myBlazorApp/Pages/Inventory.razor.css +++ b/myBlazorApp/myBlazorApp/Pages/Inventory.razor.css @@ -1,6 +1,21 @@ -.inventory-items { +.body { + display: flex; +} + +.inventory-items { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; display: grid; width: 40%; } + +.align-start { + align-items: flex-start; + justify-content: start +} + +.align-end { + align-content: flex-end; + justify-content: end; + width: 400px; +} \ No newline at end of file