fix: update augment card layout by adjusting height and adding cost display
This commit is contained in:
parent
608ba09a94
commit
c32ebdda39
1 changed files with 4 additions and 3 deletions
|
|
@ -28,13 +28,14 @@
|
||||||
|
|
||||||
<div class="augments-list" style="display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;">
|
<div class="augments-list" style="display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;">
|
||||||
{{#each ikonis.augments as |aug|}}
|
{{#each ikonis.augments as |aug|}}
|
||||||
<div class="augment-item motherboard-card" style="padding: 1rem; background: rgba(255,255,255,0.02); border: 1px solid #2d3436; border-radius: 8px; position: relative; min-height: 80px; display: flex; flex-direction: column;">
|
<div class="augment-item motherboard-card" style="padding: 1rem; background: rgba(255,255,255,0.02); border: 1px solid #2d3436; border-radius: 8px; position: relative; min-height: 85px; display: flex; flex-direction: column;">
|
||||||
<a class="remove-btn" data-action="removeAugment" data-id="{{aug.id}}" style="position: absolute; top: 0.5rem; right: 0.5rem; color: #666; cursor: pointer;"><i class="fa-solid fa-trash-alt"></i></a>
|
<a class="remove-btn" data-action="removeAugment" data-id="{{aug.id}}" style="position: absolute; top: 0.5rem; right: 0.5rem; color: #666; cursor: pointer;"><i class="fa-solid fa-trash-alt"></i></a>
|
||||||
<div style="display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.25rem;">
|
<div style="display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.25rem;">
|
||||||
<span class="aug-name" style="font-weight: bold; font-size: 1.1rem; color: #ffffff;">{{aug.name}}</span>
|
<span class="aug-name" style="font-weight: bold; font-size: 1.1rem; color: #ffffff;">{{aug.name}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="aug-stats" style="font-size: 0.9rem; color: #a4b0be; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25;">
|
<div class="aug-stats" style="font-size: 0.9rem; color: #a4b0be; line-height: 1.3;">
|
||||||
{{aug.effect}}
|
<div class="effect" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">{{aug.effect}}</div>
|
||||||
|
<div class="cost" style="color: #ff2e63; font-style: italic;">{{aug.cost}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue