Prospect box finetuning
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
@inherits FsBase
|
||||
|
||||
@{
|
||||
var divClass = "pc-main";
|
||||
var divClass = $"{CssClass} pc-main";
|
||||
if (Prospect.Complete) divClass += " complete";
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ namespace FoodsharingSiegen.Server.Controls
|
||||
[Parameter] public AddProspectModal ProspectModal { get; set; } = null!;
|
||||
|
||||
[Parameter] public EventCallback<Guid> RemoveInteraction { get; set; }
|
||||
|
||||
[Parameter] public string? CssClass { get; set; }
|
||||
|
||||
|
||||
private async Task AddInteraction(InteractionType type)
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
.pc-main {
|
||||
flex-basis: 0;
|
||||
flex-grow: 1;
|
||||
max-width: 100%;
|
||||
min-width: 350px;
|
||||
max-width: 480px;
|
||||
border: 1px solid #533a20;
|
||||
border-radius: 15px;
|
||||
margin: 5px;
|
||||
|
||||
Reference in New Issue
Block a user