mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +08:00
UX: minor mobile topic list alignment adjustments (#16470)
* UX: minor mobile topic list alignment adjustments * use margin, not padding
This commit is contained in:
parent
eb70ea4478
commit
0ff66b3b74
|
@ -117,18 +117,21 @@
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.avatar {
|
||||||
|
margin-top: 0.15em;
|
||||||
|
}
|
||||||
|
|
||||||
.main-link {
|
.main-link {
|
||||||
line-height: $line-height-medium;
|
line-height: $line-height-medium;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: z("base") + 1; // Intentionally overlapping category to create bigger tap target
|
z-index: z("base") + 1; // Intentionally overlapping category to create bigger tap target
|
||||||
font-size: var(--font-up-1);
|
font-size: var(--font-up-1);
|
||||||
a.title {
|
a.title {
|
||||||
display: block;
|
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
.topic-statuses {
|
.topic-statuses {
|
||||||
padding: 0 0 0.5em 0;
|
padding: 0;
|
||||||
a {
|
a {
|
||||||
line-height: 0.8;
|
line-height: 0.8;
|
||||||
color: var(--primary-medium);
|
color: var(--primary-medium);
|
||||||
|
@ -136,10 +139,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-featured-link {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.badge-notification,
|
.badge-notification,
|
||||||
.category-topic-link td.num .badge-notification {
|
.category-topic-link td.num .badge-notification {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user