feat: use a button to load more journals (#1529)

* feat: use a button to load more journals

* feat: preserve the "scroll to load more" behavior

* ignore .clj-kondo all together

* enhance: load latest two journals by default

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
This commit is contained in:
thezjy
2021-03-25 11:45:31 +08:00
committed by GitHub
parent 4010689a7b
commit a4d0666bcc
11 changed files with 45 additions and 26 deletions

View File

@@ -1,6 +1,4 @@
#journals {
margin-bottom: 70vh;
textarea {
word-break: break-word;
overflow: hidden;
@@ -10,12 +8,13 @@
.journal-item {
border-top: 1px solid;
border-top-color: var(--ls-border-color, #738694);
padding: 48px 0;
margin: 24px 0 128px 0;
margin: 24px 0;
padding: 24px 0;
min-height: 250px;
&:first-child {
padding-top: 0;
border-top: none;
padding: 0;
min-height: 500px;
}
}