feat: collapse mobile note after first backfill
This commit is contained in:
@@ -1050,6 +1050,11 @@ footer {
|
||||
padding: 34px 38px;
|
||||
}
|
||||
|
||||
.mobile-note-summary,
|
||||
.mobile-note-collapse-trigger {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.note-document-meta {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
@@ -1810,6 +1815,64 @@ footer {
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.note-document.mobile-collapsed {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.note-document.mobile-collapsed .note-document-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.note-document.mobile-collapsed .mobile-note-summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.mobile-note-summary > div {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.mobile-note-summary span {
|
||||
color: var(--green);
|
||||
font-size: 9px;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.mobile-note-summary strong {
|
||||
overflow: hidden;
|
||||
color: var(--ink);
|
||||
font-size: 13px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mobile-note-summary small {
|
||||
color: #899590;
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.mobile-note-summary button,
|
||||
.mobile-note-collapse-trigger {
|
||||
flex: 0 0 auto;
|
||||
min-height: 34px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid #cfe1d9;
|
||||
border-radius: 9px;
|
||||
color: var(--green-deep);
|
||||
background: #f2f8f5;
|
||||
font-size: 9px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.mobile-note-collapse-trigger {
|
||||
display: block;
|
||||
margin: 14px 0 0 auto;
|
||||
}
|
||||
|
||||
.note-document h1 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user