mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 04:52:45 +08:00
UX: Improve alignment and spacing of category headers (#12829)
This commit is contained in:
parent
ed373b2e7b
commit
c0bd7db799
|
@ -95,6 +95,11 @@
|
|||
|
||||
.category-heading {
|
||||
max-width: 100%;
|
||||
p {
|
||||
margin-top: 0;
|
||||
line-height: $line-height-large;
|
||||
font-size: $font-up-3;
|
||||
}
|
||||
}
|
||||
|
||||
.category-logo.aspect-image {
|
||||
|
|
|
@ -210,16 +210,9 @@ button.dismiss-read {
|
|||
}
|
||||
}
|
||||
|
||||
.category-heading {
|
||||
p {
|
||||
line-height: $line-height-large;
|
||||
font-size: $font-up-3;
|
||||
}
|
||||
}
|
||||
|
||||
.category-logo.aspect-image {
|
||||
float: left;
|
||||
margin: 0.25em 1em 0.5em 0;
|
||||
margin: 0.33em 2em 2em 0;
|
||||
}
|
||||
|
||||
/* Tablet (portrait) ----------- */
|
||||
|
|
|
@ -418,10 +418,16 @@ tr.category-topic-link {
|
|||
}
|
||||
}
|
||||
|
||||
.category-heading {
|
||||
p {
|
||||
font-size: $font-up-1;
|
||||
margin-bottom: 0.75em;
|
||||
}
|
||||
}
|
||||
|
||||
.category-logo.aspect-image {
|
||||
display: block;
|
||||
margin: 8px 0;
|
||||
|
||||
margin: 1.5em 0 1em;
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user