Skip to content

Commit 82b0869

Browse files
committed
Restore blur gradient with button inside it, no extra space
1 parent 48635ba commit 82b0869

2 files changed

Lines changed: 25 additions & 9 deletions

File tree

public/css/style.css

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,14 +1559,30 @@ tbody tr:hover {
15591559
font-size: 0.88rem;
15601560
}
15611561

1562-
.activity-list-truncated + .activity-more-overlay {
1563-
border-top: 1px solid rgba(255,255,255,0.06);
1564-
padding-top: 12px;
1562+
.activity-list-truncated {
1563+
max-height: 280px;
1564+
overflow: hidden;
1565+
position: relative;
1566+
}
1567+
1568+
.activity-list-truncated::after {
1569+
content: '';
1570+
position: absolute;
1571+
bottom: 0;
1572+
left: 0;
1573+
right: 0;
1574+
height: 120px;
1575+
background: linear-gradient(transparent 0%, rgba(30,30,40,0.85) 70%, var(--bg-card) 100%);
1576+
pointer-events: none;
15651577
}
15661578

15671579
.activity-more-overlay {
1580+
position: absolute;
1581+
bottom: 8px;
1582+
left: 0;
1583+
right: 0;
15681584
text-align: center;
1569-
padding: 12px 0 4px;
1585+
z-index: 2;
15701586
}
15711587

15721588
/* ===== LOG PAGE ===== */

public/js/app.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -803,12 +803,12 @@ async function renderActivity() {
803803
<div class="activity-time">${formatRelativeTime(a.created_at)}</div>
804804
</div>
805805
`).join('')}
806+
${hasMore ? html`
807+
<div class="activity-more-overlay">
808+
<a class="btn btn-primary btn-sm" onclick="navigateTo('log')" style="width:auto">View all logs</a>
809+
</div>
810+
` : ''}
806811
</div>
807-
${hasMore ? html`
808-
<div class="activity-more-overlay">
809-
<a class="btn btn-primary btn-sm" onclick="navigateTo('log')" style="margin-top:12px;width:auto">View all logs</a>
810-
</div>
811-
` : ''}
812812
`;
813813
} catch (err) {
814814
const list = $('#activity-list');

0 commit comments

Comments
 (0)