From 222f475dfd662980d5e0b9f27efa951f91604364 Mon Sep 17 00:00:00 2001 From: Rory& Date: Fri, 3 May 2024 19:40:00 +0200 Subject: All kinds of changes --- .../MainTabComponents/MainTabSpaceItem.razor | 26 +++++++++++----------- .../MainTabComponents/MainTabSpaceItem.razor.css | 12 +++++++++- 2 files changed, 24 insertions(+), 14 deletions(-) (limited to 'MatrixUtils.Web/Pages/Rooms/Index2Components/MainTabComponents') diff --git a/MatrixUtils.Web/Pages/Rooms/Index2Components/MainTabComponents/MainTabSpaceItem.razor b/MatrixUtils.Web/Pages/Rooms/Index2Components/MainTabComponents/MainTabSpaceItem.razor index 7a3b27b..6483f01 100644 --- a/MatrixUtils.Web/Pages/Rooms/Index2Components/MainTabComponents/MainTabSpaceItem.razor +++ b/MatrixUtils.Web/Pages/Rooms/Index2Components/MainTabComponents/MainTabSpaceItem.razor @@ -1,15 +1,16 @@ @using MatrixUtils.Abstractions
- @if (IsSpaceOpened()) { - - } - else { - - } - - - @Space.RoomName +
+ @if (IsSpaceOpened()) { + + } + else { + + } + + @Space.RoomName +
@if (IsSpaceOpened()) { meow } @@ -19,10 +20,10 @@ [Parameter] public RoomInfo Space { get; set; } - + [Parameter] public RoomInfo SelectedSpace { get; set; } - + [Parameter] public EventCallback SelectedSpaceChanged { get; set; } @@ -52,5 +53,4 @@ return OpenedSpaces.Contains(Space); } -} - +} \ No newline at end of file diff --git a/MatrixUtils.Web/Pages/Rooms/Index2Components/MainTabComponents/MainTabSpaceItem.razor.css b/MatrixUtils.Web/Pages/Rooms/Index2Components/MainTabComponents/MainTabSpaceItem.razor.css index a88975b..d6e413f 100644 --- a/MatrixUtils.Web/Pages/Rooms/Index2Components/MainTabComponents/MainTabSpaceItem.razor.css +++ b/MatrixUtils.Web/Pages/Rooms/Index2Components/MainTabComponents/MainTabSpaceItem.razor.css @@ -11,7 +11,17 @@ .spaceListItem { display: block; width: 100%; - height: 50px; + height: 3em; +} + +.spaceListItemContainer { + display: flex; + align-items: center; + vertical-align: center; + justify-content: space-between; + padding: 0 16px; + width: 100%; + height: 100%; } .spaceListItem > img { -- cgit 1.4.1