mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 22:26:26 +08: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 {
|
||||
z-index: z("composer", "dropdown") + 1;
|
||||
position: absolute;
|
||||
|
|
|
@ -81,6 +81,11 @@ $quote-share-maxwidth: 150px;
|
|||
.d-editor-preview {
|
||||
word-wrap: break-word;
|
||||
line-height: $line-height-large;
|
||||
|
||||
> *:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
|
|
|
@ -137,10 +137,6 @@
|
|||
color: var(--primary-medium) !important;
|
||||
}
|
||||
|
||||
.d-editor-preview > *:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.hide-preview .d-editor-preview-wrapper {
|
||||
display: none;
|
||||
flex: 0;
|
||||
|
|
|
@ -15,11 +15,6 @@
|
|||
}
|
||||
|
||||
.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;
|
||||
&:first-of-type {
|
||||
border-top: none;
|
||||
|
@ -573,7 +568,7 @@ blockquote {
|
|||
padding: 12px 0 0 0;
|
||||
.topic-meta-data,
|
||||
.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 {
|
||||
padding: 0.5em $topic-body-width-padding 0 $topic-body-width-padding;
|
||||
|
|
Loading…
Reference in New Issue
Block a user