mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Give furigana and other top-overflowing elements a little space (#11154)
This commit is contained in:
parent
4c0d027a5a
commit
8be04ff7f7
@ -359,10 +359,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.cooked > *:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.autocomplete {
|
.autocomplete {
|
||||||
z-index: z("composer", "dropdown") + 1;
|
z-index: z("composer", "dropdown") + 1;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -81,6 +81,11 @@ $quote-share-maxwidth: 150px;
|
|||||||
.d-editor-preview {
|
.d-editor-preview {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
line-height: $line-height-large;
|
line-height: $line-height-large;
|
||||||
|
|
||||||
|
> *:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
|
@ -137,10 +137,6 @@
|
|||||||
color: var(--primary-medium) !important;
|
color: var(--primary-medium) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.d-editor-preview > *:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hide-preview .d-editor-preview-wrapper {
|
.hide-preview .d-editor-preview-wrapper {
|
||||||
display: none;
|
display: none;
|
||||||
flex: 0;
|
flex: 0;
|
||||||
|
@ -15,11 +15,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.topic-body {
|
.topic-body {
|
||||||
// this ensures consistent top margin on topic posts even if the first line of a post
|
|
||||||
// is a top-margin-less element like a list or image.
|
|
||||||
.regular {
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
@ -573,7 +568,7 @@ blockquote {
|
|||||||
padding: 12px 0 0 0;
|
padding: 12px 0 0 0;
|
||||||
.topic-meta-data,
|
.topic-meta-data,
|
||||||
.cooked {
|
.cooked {
|
||||||
padding: 0 $topic-body-width-padding 0.25em $topic-body-width-padding;
|
padding: 1em $topic-body-width-padding 0.25em $topic-body-width-padding;
|
||||||
}
|
}
|
||||||
.group-request {
|
.group-request {
|
||||||
padding: 0.5em $topic-body-width-padding 0 $topic-body-width-padding;
|
padding: 0.5em $topic-body-width-padding 0 $topic-body-width-padding;
|
||||||
|
Loading…
Reference in New Issue
Block a user