ui: move SharePopover below metadata on all release detail pages
This commit is contained in:
@@ -17,11 +17,10 @@
|
|||||||
<MudText Typo="Typo.h6" Color="Color.Primary">@Artist</MudText>
|
<MudText Typo="Typo.h6" Color="Color.Primary">@Artist</MudText>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@* Play + share only make sense once a playable track is resolved. *@
|
@* Play only makes sense once a playable track is resolved. *@
|
||||||
@if (Track is not null)
|
@if (Track is not null)
|
||||||
{
|
{
|
||||||
<MudStack Row AlignItems="AlignItems.Center" Spacing="1">
|
<MudStack Row AlignItems="AlignItems.Center" Spacing="1">
|
||||||
<SharePopover EntryKey="@Track.EntryKey" />
|
|
||||||
<PlayStateIcon Track="@Track" Size="Size.Large" Color="Color.Secondary" OnToggle="@PlayTrack" />
|
<PlayStateIcon Track="@Track" Size="Size.Large" Color="Color.Secondary" OnToggle="@PlayTrack" />
|
||||||
</MudStack>
|
</MudStack>
|
||||||
}
|
}
|
||||||
@@ -37,4 +36,11 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@if (Track is not null)
|
||||||
|
{
|
||||||
|
<div class="deepdrft-share-row">
|
||||||
|
<SharePopover EntryKey="@Track.EntryKey" />
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
.deepdrft-share-row {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user