Skip to content

Commit

Permalink
[#1426] Fix responsiveness issue in Catalog results
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Taneja <[email protected]>
  • Loading branch information
shiivamtaneja committed Sep 21, 2023
1 parent 6c7c7d8 commit 5e850b8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions _includes/patterns-filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
font-weight: 200;
}
#compatibility-div .input-container .name{
margin-left:10px;
margin: 0 10px 0 10px;
width: 100%;
white-space: nowrap;
overflow: hidden;
Expand All @@ -111,6 +111,11 @@
margin: 20px 0;
}

#category-div,
#compatibility-div {
flex-wrap: wrap;
}

</style>

<div class="filter-wrap">
Expand Down Expand Up @@ -171,7 +176,7 @@
technologyLink.addEventListener("click", showTechnology);

function showCategory() {
category_div.style.display = "grid";
category_div.style.display = "flex";
category_p.style.display = "grid";
comp_p.style.display = "none";
comp_div.style.display = "none";
Expand All @@ -186,7 +191,7 @@
category_div.style.display = "none";
category_p.style.display = "none";
comp_p.style.display = "grid";
comp_div.style.display = "grid";
comp_div.style.display = "flex";
tech_p.style.display = "none";
tech_div.style.display = "none";
document.getElementById("myDropdown").classList.toggle("show");
Expand Down

0 comments on commit 5e850b8

Please sign in to comment.