mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-17 02:05:22 -04:00
Email accounts strip: shrink default-dot to 6px (matches sidebar notif dot)
This commit is contained in:
@@ -1333,10 +1333,9 @@ function _renderAccountsStrip() {
|
|||||||
// 'Default' rather than 'All (default)' — this view shows the account
|
// 'Default' rather than 'All (default)' — this view shows the account
|
||||||
// marked is_default; cross-account aggregation is a separate feature.
|
// marked is_default; cross-account aggregation is a separate feature.
|
||||||
let html = `<button class="memory-toolbar-btn gallery-chip${allActive}" data-acc-id="">Default</button>`;
|
let html = `<button class="memory-toolbar-btn gallery-chip${allActive}" data-acc-id="">Default</button>`;
|
||||||
// Small default-account dot — slightly smaller than the previous 10px
|
// 6px dot — matches the sidebar notification-dot size.
|
||||||
// version so it doesn't dominate the chip's right edge.
|
const _dotFilled = '<svg width="6" height="6" viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10"/></svg>';
|
||||||
const _dotFilled = '<svg width="8" height="8" viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10"/></svg>';
|
const _dotHollow = '<svg width="6" height="6" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3"><circle cx="12" cy="12" r="9"/></svg>';
|
||||||
const _dotHollow = '<svg width="8" height="8" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3"><circle cx="12" cy="12" r="9"/></svg>';
|
|
||||||
for (const a of state._libAccounts) {
|
for (const a of state._libAccounts) {
|
||||||
const active = state._libAccountId === a.id ? ' active' : '';
|
const active = state._libAccountId === a.id ? ' active' : '';
|
||||||
const label = a.name || a.from_address || a.imap_user || 'account';
|
const label = a.name || a.from_address || a.imap_user || 'account';
|
||||||
|
|||||||
Reference in New Issue
Block a user