Skip to content

Commit

Permalink
Better inventory width spacing and responsiveness.
Browse files Browse the repository at this point in the history
  • Loading branch information
tchalvak committed Sep 30, 2023
1 parent d935d3e commit 168a8ce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion deploy/templates/inventory.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
margin-bottom:3em;
}
#inventory-content .item-list{
margin-bottom:2em;margin-left:auto;margin-right:auto;width:100%;max-width:30rem;
margin-bottom:2em;margin-left:auto;margin-right:auto;width:100%;
}
#inventory-content .item-list .oddeven td{
font-size:1em;padding-bottom:0.3em;line-height:2.3;
Expand All @@ -26,6 +26,12 @@
.footnote{
background-color:rgba(0, 0, 0, 0.5);
}
/* media query for large screen */
@media (min-width: 801px) {
#inventory-content .item-list{
max-width:50%;
}
}
</style>


Expand Down

0 comments on commit 168a8ce

Please sign in to comment.