UX: Give furigana and other top-overflowing elements a little space (#11154)

This commit is contained in:
Kris 2020-11-09 00:03:36 -05:00 committed by GitHub
parent 4c0d027a5a
commit 8be04ff7f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 14 deletions

View File

@ -359,10 +359,6 @@
}
}
.cooked > *:first-child {
margin-top: 0;
}
.autocomplete {
z-index: z("composer", "dropdown") + 1;
position: absolute;

View File

@ -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,

View File

@ -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;

View File

@ -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;