mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: mobile logo was too wide
This commit is contained in:
parent
50d2ba5f8e
commit
722cce7400
2 changed files with 18 additions and 6 deletions
|
@ -5,12 +5,12 @@
|
||||||
.d-header {
|
.d-header {
|
||||||
|
|
||||||
#site-logo {
|
#site-logo {
|
||||||
max-width: 155px;
|
max-width: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// some protection for text-only site titles
|
// some protection for text-only site titles
|
||||||
.title {
|
.title {
|
||||||
max-width: 160px;
|
max-width: 130px;
|
||||||
height: 39px;
|
height: 39px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
@ -140,6 +140,7 @@
|
||||||
|
|
||||||
.posts {
|
.posts {
|
||||||
width: 10%;
|
width: 10%;
|
||||||
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.age {
|
.age {
|
||||||
|
@ -236,10 +237,15 @@ tr.category-topic-link {
|
||||||
font-size: 110%;
|
font-size: 110%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-topic-link .num {
|
.category-topic-link {
|
||||||
white-space: nowrap;
|
.num {
|
||||||
.number {
|
white-space: nowrap;
|
||||||
font-size: 1.071em;
|
.number {
|
||||||
|
font-size: 1.071em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.topic-excerpt {
|
||||||
|
width: 110%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -404,4 +410,10 @@ td .main-link {
|
||||||
font-size: 1.071em;
|
font-size: 1.071em;
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
}
|
}
|
||||||
|
// so the topic excerpt is full width
|
||||||
|
// as the containing div is 80%
|
||||||
|
.topic-excerpt {
|
||||||
|
padding-right: 0;
|
||||||
|
width: 120%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue