add fullscreen mode
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user