button size on company base data page
This commit is contained in:
parent
fbc9e21461
commit
0bf6ec94ee
2 changed files with 4 additions and 3 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
@if (Enabled == 1)
|
||||
{
|
||||
<a class="btn btn-@ButtonType" href="@ActionLink">@ButtonText</a>
|
||||
<a class="btn btn-@ButtonType d-block" href="@ActionLink">@ButtonText</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -33,7 +33,8 @@ else
|
|||
|
||||
protected override void OnParametersSet()
|
||||
{
|
||||
ActionLink = ActionLink.Replace("$ID$", CompanyId);
|
||||
if (!string.IsNullOrWhiteSpace(CompanyId))
|
||||
ActionLink = ActionLink.Replace("$ID$", CompanyId);
|
||||
}
|
||||
|
||||
}
|
|
@ -208,7 +208,7 @@
|
|||
<div class="col">
|
||||
<a class="btn btn-light border-dark d-block" href="/companies/@_company.CompanyId/h/i">Produktkøb</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="col d-grid">
|
||||
<button type="submit" class="btn btn-light border-dark d-block" disabled="@_working">Gem</button>
|
||||
</div>
|
||||
<div class="col">
|
||||
|
|
Loading…
Reference in a new issue