Skip to content

Commit e20fa01

Browse files
committed
Add rounded square background behind nest icon in sidebar
1 parent ff6873d commit e20fa01

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

public/css/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,11 @@ cap-widget {
10901090
flex-shrink: 0;
10911091
display: flex;
10921092
align-items: center;
1093+
justify-content: center;
1094+
width: 28px;
1095+
height: 28px;
1096+
border-radius: 6px;
1097+
background: var(--bg-tertiary);
10931098
}
10941099

10951100
.nav-sub-item .nav-sub-dot {

public/js/app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,10 +1673,10 @@ function initSidebarTooltip() {
16731673
}
16741674

16751675
function renderNestLogoSmall(logo) {
1676-
if (!logo) return html`<i data-lucide="box" style="width:14px;height:14px;opacity:0.4"></i>`;
1677-
if (logo.startsWith('si:')) return html`<img src="${siUrl(logo.slice(3))}" alt="" style="width:14px;height:14px;opacity:0.5" />`;
1678-
if (logo.startsWith('lucide:')) return html`<i data-lucide="${logo.slice(7)}" style="width:14px;height:14px;opacity:0.5"></i>`;
1679-
return html`<img src="${logo}" alt="" style="width:14px;height:14px;opacity:0.5;border-radius:2px" />`;
1676+
if (!logo) return html`<i data-lucide="box" style="width:16px;height:16px;color:var(--text-secondary)"></i>`;
1677+
if (logo.startsWith('si:')) return html`<img src="${siUrl(logo.slice(3))}" alt="" style="width:16px;height:16px" />`;
1678+
if (logo.startsWith('lucide:')) return html`<i data-lucide="${logo.slice(7)}" style="width:16px;height:16px"></i>`;
1679+
return html`<img src="${logo}" alt="" style="width:16px;height:16px;border-radius:3px" />`;
16801680
}
16811681

16821682
function buildServerSubList() {

0 commit comments

Comments
 (0)