Доработать аватары и меню UI

This commit is contained in:
2026-08-22 13:27:08 +03:00
parent f5e401cff8
commit ea19e511c0
14 changed files with 522 additions and 94 deletions
+10
View File
@@ -0,0 +1,10 @@
export function createOverflowDots({ className = '' } = {}) {
const dots = document.createElement('span');
const extra = String(className || '').trim();
dots.className = `app-overflow-dots${extra ? ` ${extra}` : ''}`;
dots.setAttribute('aria-hidden', 'true');
for (let i = 0; i < 3; i += 1) {
dots.append(document.createElement('i'));
}
return dots;
}