Skip to content

Commit

Permalink
Align baseline items
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Jul 24, 2023
1 parent e93b7be commit 01e69a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
</div>
</th>
<th *ngIf="baselineEnabled" class="wp-table--baseline-th -short hide-when-print">
<div class="generic-table--empty-header">
<op-icon icon-classes="icon-baseline"></op-icon>
<div class="generic-table--empty-header op-table-baseline--column-header">
<span class="spot-icon spot-icon_baseline"></span>
</div>
</th>
<th *ngFor="let column of columns; trackBy:trackByHref"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,11 @@
// Ensure items are not taking full width
align-items: flex-start

.spot-icon
vertical-align: middle
&--column-header
display: flex
align-items: center

.op-table-baseline--column-cell .spot-icon
display: flex
align-items: center
justify-items: center

0 comments on commit 01e69a4

Please sign in to comment.