Skip to content

Commit

Permalink
Add table vertical-align helper
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Feb 18, 2024
1 parent 49cf427 commit be0dfab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/_includes/layout/item-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<th>Description</th>
<td>LuminoTech LED Desk Lamp provides bright and energy-efficient lighting for your workspace.</td>
</tr>
<tr>
<tr class="vertical-align:top">
<th>Product Image</th>
<td>
<img src="https://picsum.photos/250/250?random=1" alt="Product Image" style="max-inline-size: 15rem;">
Expand Down
5 changes: 5 additions & 0 deletions src/scss/helper/_vertical-align.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@use 'sprucecss/scss/spruce' as *;

.vertical-align\:top {
vertical-align: top !important;
}

0 comments on commit be0dfab

Please sign in to comment.