Prospect box finetuning
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user