Skip to content

Commit

Permalink
Fixed bug when selecting multiple tags on the home page. Besides that…
Browse files Browse the repository at this point in the history
…, improved the layout on the browser page (Issue #15)
  • Loading branch information
Jens-Koenen committed Feb 7, 2024
1 parent 7b03704 commit 31fdda6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/pages/browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
<div class="spinner-border text-body-tertiary" role="status"></div>
<span class="ms-2 text-body-tertiary fw-semibold fs-4">Loading visualizations</span>
</div>
<div v-else-if="browser_items.length > 0" class="row row-cols-1 row-cols-md-2 row-cols-lg-3 row-cols-xl-4 g-3">
<div v-else-if="browser_items.length > 0" class="row row-cols-1 row-cols-md-1 row-cols-lg-2 row-cols-xxl-3 g-3">
<div v-for="item of browser_items" class="col">
<browser-item :browser_item="item" @on_browser_item_click="on_browser_item_click(item)" @on_browser_item_tag_click="on_browser_item_tag_click"></browser-item>
</div>
Expand Down
2 changes: 1 addition & 1 deletion website/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

for(let index = 1; index < tags.length; index++)
{
search_url += "+" + tags[index].name + "+" + tags[index].type + "+" + tags[index].abbreviation;
search_tag_url += "+" + tags[index].name + "+" + tags[index].type + "+" + tags[index].abbreviation;
}

search_url += "tags=" + encodeURIComponent(search_tag_url);
Expand Down

0 comments on commit 31fdda6

Please sign in to comment.