Improve scrolling desynchronization

https://gitlab.com/soapbox-pub/soapbox-fe/-/issues/749
merge-requests/782/head
Alex Gleason 2021-09-26 18:24:12 -05:00
rodzic df0fb5ae58
commit ce7eb29e1c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
3 zmienionych plików z 11 dodań i 21 usunięć

Wyświetl plik

@ -337,15 +337,9 @@
background: transparent; background: transparent;
border-radius: 0; border-radius: 0;
box-shadow: none; box-shadow: none;
margin-top: -10px;
.column-back-button { .column-back-button {
background: transparent; background: transparent;
margin-bottom: -10px;
}
.slist {
margin-top: -10px;
} }
.account__section-headline { .account__section-headline {

Wyświetl plik

@ -132,20 +132,6 @@
padding: 15px 0 10px; padding: 15px 0 10px;
} }
.slist > .item-list > article {
&:first-child {
.status__wrapper {
margin-top: 10px;
}
}
&:last-child {
.status__wrapper {
margin-bottom: 10px;
}
}
}
.status__wrapper--filtered { .status__wrapper--filtered {
color: var(--primary-text-color); color: var(--primary-text-color);
border: 0; border: 0;

Wyświetl plik

@ -150,7 +150,7 @@
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
padding: 20px; padding: 20px;
margin-bottom: 20px; margin-bottom: 10px;
.compose-form { .compose-form {
flex: 1 1; flex: 1 1;
@ -174,6 +174,10 @@
border-left: 11px solid transparent; border-left: 11px solid transparent;
left: -22px; left: -22px;
top: 13px; top: 13px;
@media (max-width: 405px) {
display: none;
}
} }
.autosuggest-textarea__textarea { .autosuggest-textarea__textarea {
@ -744,3 +748,9 @@
background: var(--accent-color); background: var(--accent-color);
} }
} }
// Create a new Block Formatting Context to prevent the timelines from jumping
// https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
.slist > .item-list > article {
overflow: hidden;
}