mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 03:47:40 -07:00
Padding & alignment improvements
This commit is contained in:
parent
7ec5edc65e
commit
04b701f084
3 changed files with 19 additions and 14 deletions
|
@ -351,7 +351,7 @@ function readPromo() {
|
|||
.line::before {
|
||||
content: "";
|
||||
display: block;
|
||||
margin-bottom: -15px;
|
||||
margin-bottom: -10px;
|
||||
width: 2px;
|
||||
background-color: var(--accentDarken);
|
||||
margin-inline: auto;
|
||||
|
@ -442,7 +442,7 @@ function readPromo() {
|
|||
}
|
||||
|
||||
& + .article {
|
||||
padding-top: 10px;
|
||||
padding-top: 10px !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -336,7 +336,6 @@ if (appearNote.replyId) {
|
|||
&:hover > .article > .main > .footer > .button {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
> .reply-to {
|
||||
margin-bottom: -16px;
|
||||
}
|
||||
|
@ -344,9 +343,6 @@ if (appearNote.replyId) {
|
|||
> .reply-to-more {
|
||||
// opacity: 0.7;
|
||||
cursor: pointer;
|
||||
&:first-child {
|
||||
padding-top: 30px;
|
||||
}
|
||||
|
||||
@media (pointer: coarse) {
|
||||
cursor: default;
|
||||
|
|
|
@ -89,7 +89,6 @@ const replies: misskey.entities.Note[] = props.conversation?.filter(item => item
|
|||
flex: 1;
|
||||
min-width: 0;
|
||||
cursor: pointer;
|
||||
|
||||
@media (pointer: coarse) {
|
||||
cursor: default;
|
||||
}
|
||||
|
@ -131,10 +130,11 @@ const replies: misskey.entities.Note[] = props.conversation?.filter(item => item
|
|||
padding: 10px 0 0 16px;
|
||||
}
|
||||
|
||||
&.reply-to:first-child {
|
||||
&.reply-to, &.reply-to-more {
|
||||
padding-bottom: 0;
|
||||
&:first-child {
|
||||
padding-top: 30px;
|
||||
}
|
||||
&.reply-to, &.reply-to-more {
|
||||
.avatar-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -153,18 +153,27 @@ const replies: misskey.entities.Note[] = props.conversation?.filter(item => item
|
|||
&::before {
|
||||
content: "";
|
||||
display: block;
|
||||
margin-bottom: -30px;
|
||||
width: 2px;
|
||||
background-color: var(--accentDarken);
|
||||
margin-inline: auto;
|
||||
.note > & {
|
||||
margin-bottom: -16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
> .main > .body {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
&.max-width_450px {
|
||||
padding: 14px 16px !important;
|
||||
padding: 14px 16px;
|
||||
&.reply-to, &.reply-to-more {
|
||||
padding-top: 14px !important;
|
||||
padding-bottom: 0 !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
> .main > .avatar-container {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue