Toolbar buttons show text labels when the panel is wide
Container query on the panel (Tailwind v4 @container): Copy, Edit, Rename and Delete grow labels at >=30rem panel width; New folder, New file and Permissions stay icon-only (self-explanatory icons). Tooltips unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,7 @@ import { TransfersService } from '../transfers.service';
|
||||
selector: 'app-file-panel',
|
||||
imports: [NgIcon],
|
||||
templateUrl: './file-panel.html',
|
||||
host: { class: 'flex min-w-0 flex-1 flex-col overflow-hidden' },
|
||||
host: { class: '@container flex min-w-0 flex-1 flex-col overflow-hidden' },
|
||||
})
|
||||
export class FilePanel {
|
||||
readonly side = input.required<Side>();
|
||||
|
||||
Reference in New Issue
Block a user