Make hidden files toggle button more visible
The middle-dot character was too small at 14px. Use a larger period with explicit 20px font size so the button is actually visible in the toolbar. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
11c4817497
commit
30f0536b00
1 changed files with 2 additions and 2 deletions
|
|
@ -424,8 +424,8 @@
|
||||||
|
|
||||||
// Toggle hidden files
|
// Toggle hidden files
|
||||||
const hiddenBtn = document.createElement('button');
|
const hiddenBtn = document.createElement('button');
|
||||||
hiddenBtn.className = 'files-action-btn' + (showHidden ? ' active' : '');
|
hiddenBtn.className = 'files-action-btn files-hidden-toggle' + (showHidden ? ' active' : '');
|
||||||
hiddenBtn.textContent = '·';
|
hiddenBtn.innerHTML = '<span style="font-size:20px;line-height:1;">.</span>';
|
||||||
hiddenBtn.title = 'Show Hidden Files';
|
hiddenBtn.title = 'Show Hidden Files';
|
||||||
hiddenBtn.addEventListener('click', () => {
|
hiddenBtn.addEventListener('click', () => {
|
||||||
showHidden = !showHidden;
|
showHidden = !showHidden;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue