summary title removed. see #580

This commit is contained in:
mic 2026-03-24 23:25:47 +01:00
parent 0ea8c02202
commit ea0d1e5e86

View file

@ -847,12 +847,7 @@ switch (message.command) {
summaryContainer.style.cssText = `background-color: ${bgColorSummary}; color: ${textColorSummary}; padding: 0.5rem; margin-bottom: 1rem; border-radius: 4px; border: 1px solid ${borderColorSummary}; font-family: system-ui, -apple-system, sans-serif; font-size: 14px;`;
const summaryHeader = document.createElement('div');
summaryHeader.style.cssText = `display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem;`;
const summaryTitle = document.createElement('div');
summaryTitle.className = 'thunderai-summary-title';
summaryTitle.textContent = browser.i18n.getMessage("summarize_title");
summaryTitle.style.cssText = `font-weight: bold; font-size: 14px; color: ${titleColor};`;
summaryHeader.style.cssText = `display: flex; justify-content: flex-end; align-items: center; margin-bottom: 0.25rem; float:right;`;
const summaryMenu = createThreeDotsMenu(isDarkSummary, [
{
@ -887,7 +882,6 @@ switch (message.command) {
summaryRightGroup.appendChild(summaryBranding);
summaryRightGroup.appendChild(summaryMenu);
summaryHeader.appendChild(summaryTitle);
summaryHeader.appendChild(summaryRightGroup);
summaryContainer.appendChild(summaryHeader);