Skip to content

Commit

Permalink
Add support for subgrid alignment in description list groups
Browse files Browse the repository at this point in the history
  • Loading branch information
dlnr committed Dec 5, 2024
1 parent 4bb4506 commit 7d53b0d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@
}
}

// Solution for browsers that support subgrid, the group will align to the parent grid
@supports (grid-template-columns: subgrid) {
.ams-description-list .ams-description-list__group {
grid-template-columns: subgrid;
}
}

.ams-description-list--inverse-color {
color: var(--ams-description-list-inverse-color);
}
Expand Down

0 comments on commit 7d53b0d

Please sign in to comment.