Fix newline in description for store
This commit is contained in:
@@ -20,7 +20,11 @@
|
||||
}
|
||||
</div>
|
||||
<h1 class ="gameCard-Name">@obj.Name</h1>
|
||||
<h2 class="gameCard-Desc">@obj.Description</h2>
|
||||
<div>
|
||||
@foreach(string cur in @obj.Description.Split('\n')){
|
||||
<h2 class="gameCard-Desc">@cur</h2>
|
||||
}
|
||||
</div>
|
||||
<h2 class="gameCard-Price">$@((Convert.ToSingle(obj.Cost)/100f).ToString("0.00"))</h2>
|
||||
@if ( isOwned(obj.ID) ) {
|
||||
<button class="gameCard-Button" @onclick="() => { Download(); }">Owned</button>
|
||||
|
||||
Reference in New Issue
Block a user