Skip to content

Commit

Permalink
Merge pull request #4210 from 8rxn/responsiveTable
Browse files Browse the repository at this point in the history
Improve Responsiveness for Table at Service Mesh Patterns Page
  • Loading branch information
Nikhil-Ladha authored May 15, 2023
2 parents 0c98a9b + 35a44fb commit 51bcb61
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/service-mesh-patterns-Table/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const Table = () => {
: <>
</>}
{(column.Header == "Category") ?
<div>{column.canFilter ? column.render("Filter") : null}</div>
<div id={"service-mesh-patterns-table-filter"}>{column.canFilter ? column.render("Filter") : null}</div>
: <> </>
}
</div>
Expand Down
9 changes: 9 additions & 0 deletions src/sections/Learn/Book-single/BookSingle.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ const BookSinglePageWrapper = styled.div`
}
}
@media only screen and (max-width: 500px) {
#service-mesh-patterns-table-filter > select{
width: 100%;
}
}
table > tbody> tr > td {
text-align:center;
}
.single-post-wrapper{
margin: 2rem 0;
}
Expand Down

0 comments on commit 51bcb61

Please sign in to comment.