Skip to content

Commit

Permalink
Combined: Fix column widths in grid layout
Browse files Browse the repository at this point in the history
  • Loading branch information
maccabeelevine committed Nov 14, 2023
1 parent 18b4cee commit a26b5c5
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion themes/bootprint3/css/compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bootstrap3/css/compiled.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions themes/bootstrap3/less/components/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,10 @@ body.rtl {
.combined-search-container.grid {
margin-left: 1rem;
margin-right: 1rem;

.combined-list {
overflow-x: auto;
}
}

.combined-jump-links {
Expand Down
4 changes: 4 additions & 0 deletions themes/bootstrap3/scss/components/search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,10 @@ body.rtl {
.combined-search-container.grid {
margin-left: 1rem;
margin-right: 1rem;

.combined-list {
overflow-x: auto;
}
}

.combined-jump-links {
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap3/templates/combined/stack-grid.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="combined-search-container grid"
style="grid-template-columns: repeat(<?=$this->escapeHtmlAttr($columns)?>, 1fr)"
style="grid-template-columns: repeat(<?=$this->escapeHtmlAttr($columns)?>, minmax(0, 1fr))"
>
<?php $columnIndex = 0; ?>
<?php foreach ($this->combinedResults as $searchClassId => $currentSearch): ?>
Expand Down
2 changes: 1 addition & 1 deletion themes/local_theme_example/css/compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/sandal/css/compiled.css

Large diffs are not rendered by default.

0 comments on commit a26b5c5

Please sign in to comment.