27 lines
818 B
Plaintext
27 lines
818 B
Plaintext
<div class="d-flex justify-content-between mb-1">
|
|
<div class="px-0">
|
|
<div class="input-group input-group-sm w-100">
|
|
<span class="input-group-text"><b>@(isMobile ? "Mobile" : "Desktop")</b></span>
|
|
</div>
|
|
</div>
|
|
<div class="px-0">
|
|
<div class="input-group input-group-sm w-100">
|
|
<span class="input-group-text">H</span>
|
|
<select class="form-select" @bind="@Height">
|
|
@foreach (var item in HeightList)
|
|
{
|
|
<option value="@item.Value">@item.Key</option>
|
|
}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@if (isMobile)
|
|
{
|
|
<iframe src="@PdfUrl" width="@Width" height="@Height" />
|
|
}
|
|
else
|
|
{
|
|
<object type="application/pdf" data="@PdfUrl" width="@Width" height="@Height" />
|
|
}
|