fix(ui): default summarize icon 🌚; toggle to 🌝 after summary shows
This commit is contained in:
parent
43f1235482
commit
a38aadd048
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ function processLinks(scope){ const links = scope.querySelectorAll('a[href]:not(
|
|||
const sum=document.createElement('div'); sum.className='link-summary'; sum.style.whiteSpace='pre-wrap'; sum.style.marginTop='.25rem'; sum.style.display='none'; c.appendChild(sum);
|
||||
// Place actions inline next to the original link
|
||||
const act=document.createElement('span'); act.style.marginLeft='.35rem';
|
||||
const sumBtn=document.createElement('button'); sumBtn.type='button'; sumBtn.title='Summarize'; sumBtn.textContent='🌝'; sumBtn.style.padding='0 .35rem'; sumBtn.style.fontSize='.9rem';
|
||||
const sumBtn=document.createElement('button'); sumBtn.type='button'; sumBtn.title='Summarize'; sumBtn.textContent='🌚'; sumBtn.style.padding='0 .35rem'; sumBtn.style.fontSize='.9rem';
|
||||
const chevron=document.createElement('button'); chevron.type='button'; chevron.title='Expand/collapse'; chevron.textContent='▾'; chevron.style.padding='0 .35rem'; chevron.style.fontSize='.9rem';
|
||||
const spinner=document.createElement('span'); spinner.textContent=''; spinner.style.marginLeft='.25rem';
|
||||
act.appendChild(sumBtn); act.appendChild(chevron); act.appendChild(spinner);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue