Add data columns segment to company card using existing signal colors

This commit is contained in:
2026-05-20 15:11:16 +02:00
parent 6e9edc33a9
commit ff3c0c9498
+14
View File
@@ -44,6 +44,20 @@
</div>
</div>
</div>
<div class="sg-card-segment sg-card-segment--body sg-card-segment--lightgrey" data-pattern-part="company-card-data-columns">
<table class="sg-data-table" aria-label="Company Kennzahlen-Spalten" data-component="data-columns">
<tbody>
<tr>
<td data-component-part="data-columns-value-cell">PE: <span class="sg-data-table__value">28.8</span></td>
<td data-component-part="data-columns-reference-cell">PE forw.: <span class="sg-data-table__value" style="color: var(--chart-value-negative);" data-component-state="negative">23.3</span></td>
</tr>
<tr>
<td data-component-part="data-columns-value-cell">PEG: <span class="sg-data-table__value" style="color: var(--chart-value-negative);" data-component-state="negative">3.54</span></td>
<td data-component-part="data-columns-reference-cell"></td>
</tr>
</tbody>
</table>
</div>
<div class="sg-card-segment sg-card-segment--body sg-object-card__content" data-pattern-part="company-card-content">
<p class="sg-body">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>