mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 22:50:45 +08:00
Merge pull request #3755 from scossar/category-page-for-mobile
FIX: eliminate horizontal scrolling on category page for mobile
This commit is contained in:
commit
da4bd6f7e9
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user