Skip to content

Commit

Permalink
styling: add 3 column template class
Browse files Browse the repository at this point in the history
* used in search headers
  • Loading branch information
kpsherva authored and zzacharo committed Sep 19, 2023
1 parent c0ddd9e commit 47f0150
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -465,14 +465,18 @@ code {
// used on a container with two children <div>
// provides auto adjustment to the content of the left column
// and auto fills the width on the right
// [ COL1 (auto fill remaining space) ] [ COL2 (max-content width) ]
// [ COL0 (max-content width) ] [ COL1 (auto fill remaining space) ] [ COL2 (max-content width) ]
display: grid;
grid-auto-flow: column;
grid-template-columns: auto max-content;
grid-auto-columns: max-content;
align-items: center;
column-gap: 1rem;

&.triple {
grid-template-columns: max-content auto max-content;
}

&.no-wrap {
@media all and (max-width: @largestTabletScreen) {
grid-auto-flow: column;
Expand Down

0 comments on commit 47f0150

Please sign in to comment.