You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
899 B
44 lines
899 B
<div class="infoContainer"> |
|
@if (InfoQuestionComponent != null) |
|
{ |
|
<div class="infoTitle">@InfoQuestionComponent</div> |
|
} |
|
@if (InfoAnswerComponent != null) |
|
{ |
|
<div>@InfoAnswerComponent</div> |
|
} |
|
</div> |
|
|
|
<style> |
|
.infoContainer { |
|
display: flex; |
|
flex-direction: column; |
|
border-radius: 8px; |
|
padding-top: 16px; |
|
padding-left: 16px; |
|
padding-right: 16px; |
|
padding-bottom: 16px; |
|
margin: auto; |
|
width: 100%; |
|
gap: 8px; |
|
} |
|
|
|
.infoTitle { |
|
font-weight: 800; |
|
font-size: 1.3rem; |
|
} |
|
|
|
@@media only screen and (max-width: 1025px) { |
|
.infoContainer { |
|
padding: 2px; |
|
} |
|
} |
|
</style> |
|
|
|
@code { |
|
|
|
[Parameter] public RenderFragment? InfoQuestionComponent { get; set; } |
|
|
|
[Parameter] public RenderFragment? InfoAnswerComponent { get; set; } |
|
|
|
} |