add fullscreen mode

This commit is contained in:
2025-07-07 08:48:09 +00:00
parent 923bedc4fc
commit 309d708830
4 changed files with 58 additions and 7 deletions

View File

@@ -15,6 +15,9 @@ export class WccSidebar extends DeesElement {
@property()
public dashboardRef: WccDashboard;
@property()
public isFullscreen: boolean = false;
public render(): TemplateResult {
return html`
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" rel="stylesheet" />
@@ -36,7 +39,7 @@ export class WccSidebar extends DeesElement {
--ring: #3b82f6;
--radius: 4px;
display: block;
display: ${this.isFullscreen ? 'none' : 'block'};
border-right: 1px solid rgba(255, 255, 255, 0.08);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
font-size: 14px;