Merge pull request #3755 from scossar/category-page-for-mobile

FIX: eliminate horizontal scrolling on category page for mobile
This commit is contained in:
Robin Ward 2015-09-11 16:01:48 -04:00
commit da4bd6f7e9

View File

@ -110,6 +110,29 @@
// Category list // Category list
// -------------------------------------------------- // --------------------------------------------------
.categories-list .list-container {
margin-left: -10px; // Extend past the .wrap padding to the edge of the window
}
.category-list-item.category {
// Allow percentage widths on table cells to include their padding
box-sizing: border-box;
*, *:before, *:after {
box-sizing: inherit;
}
.main-link {
width: 80%;
}
.posts {
width: 10%;
}
.age {
width: 10%;
}
}
tr.category-topic-link { tr.category-topic-link {
border-top: darken($secondary, 3%) 1px solid; border-top: darken($secondary, 3%) 1px solid;