diff --git a/components/data-display.html b/components/data-display.html index 8566df6..8bcae39 100644 --- a/components/data-display.html +++ b/components/data-display.html @@ -83,11 +83,36 @@
-
Spalte 1
-
Spalte 2
-
Spalte 3
-
Spalte 4
-
Spalte 5
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
@@ -173,5 +198,98 @@ + + diff --git a/styles/42-components-data-display.css b/styles/42-components-data-display.css index c5faf64..c2ae068 100644 --- a/styles/42-components-data-display.css +++ b/styles/42-components-data-display.css @@ -96,3 +96,34 @@ text-overflow: ellipsis; white-space: nowrap; } + +.sg-large-table__cell--header { + padding: 0; +} + +.sg-large-table__sort-button { + display: flex; + align-items: center; + justify-content: space-between; + gap: var(--spacing-small); + width: 100%; + padding: 0 var(--spacing-small); + border: var(--border-none); + background: var(--color-transparent); + color: inherit; + font: inherit; + font-weight: var(--font-weight-semibold); + text-align: left; + cursor: pointer; +} + +.sg-large-table__sort-button:focus-visible { + outline: 2px solid var(--color-darkblue); + outline-offset: -2px; +} + +.sg-large-table__sort-icon { + flex: 0 0 auto; + font-size: 0.85em; + line-height: 1; +}