Prospect box finetuning

This commit is contained in:
Andre Beging
2022-05-31 09:38:53 +02:00
parent 3f2b727920
commit bee7b09bf0
3 changed files with 4 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
@inherits FsBase @inherits FsBase
@{ @{
var divClass = "pc-main"; var divClass = $"{CssClass} pc-main";
if (Prospect.Complete) divClass += " complete"; if (Prospect.Complete) divClass += " complete";
} }

View File

@@ -13,6 +13,8 @@ namespace FoodsharingSiegen.Server.Controls
[Parameter] public AddProspectModal ProspectModal { get; set; } = null!; [Parameter] public AddProspectModal ProspectModal { get; set; } = null!;
[Parameter] public EventCallback<Guid> RemoveInteraction { get; set; } [Parameter] public EventCallback<Guid> RemoveInteraction { get; set; }
[Parameter] public string? CssClass { get; set; }
private async Task AddInteraction(InteractionType type) private async Task AddInteraction(InteractionType type)

View File

@@ -16,8 +16,7 @@
.pc-main { .pc-main {
flex-basis: 0; flex-basis: 0;
flex-grow: 1; flex-grow: 1;
max-width: 100%; max-width: 480px;
min-width: 350px;
border: 1px solid #533a20; border: 1px solid #533a20;
border-radius: 15px; border-radius: 15px;
margin: 5px; margin: 5px;