Skip to content

Commit

Permalink
[FIX] Alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander van Delft committed Jan 9, 2025
1 parent a67b0dd commit 4bd4696
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion COMET.Web.Common/Components/CardView/CardView.razor
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</tr>
</table>
</p>
<div class="container" style="height:calc(100% - 40px); overflow:auto;max-width: inherit !important;">
<div class="container" style="height:100%; overflow:auto;max-width: inherit !important;">
<div class="row">
<Virtualize ItemSize="@this.ItemSize" ItemsProvider="this.LoadItemsAsync" @ref="this.virtualize">
<ItemContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,17 @@
// along with this program. If not, see http://www.gnu.org/licenses/.
------------------------------------------------------------------------------->

<div class="@this.CssClass" @attributes="this.AdditionalAttributes">
<div class="@this.CssClass" style="display: flex; justify-content: space-between; align-items: center;" @attributes="this.AdditionalAttributes">
@this.ElementBaseTreeRowViewModel.ElementName
<span>
<button class="starion-pill" title="Owning Domain Of Expertise: @this.ElementBaseTreeRowViewModel.OwnerShortName">@this.ElementBaseTreeRowViewModel.OwnerShortName</button>
</span>
@foreach (var categoryShortName in this.ElementBaseTreeRowViewModel.ElementBase.GetAllCategories().Select(x => x.ShortName))
{
<span style="text-align: end;">
<span>
<button class="starion-pill" style="background-color:aliceblue !important;" title="Category: @categoryShortName">@categoryShortName</button>
<button class="starion-pill" title="Owning Domain Of Expertise: @this.ElementBaseTreeRowViewModel.OwnerShortName">@this.ElementBaseTreeRowViewModel.OwnerShortName</button>
</span>
}
@foreach (var categoryShortName in this.ElementBaseTreeRowViewModel.ElementBase.GetAllCategories().Select(x => x.ShortName))
{
<span>
<button class="starion-pill" style="background-color:aliceblue !important;" title="Category: @categoryShortName">@categoryShortName</button>
</span>
}
</span>
</div>

0 comments on commit 4bd4696

Please sign in to comment.