This commit is contained in:
Juergen Kunz
2025-06-27 20:40:06 +00:00
parent 88ff74bb86
commit 65acda3de1
4 changed files with 348 additions and 63 deletions

View File

@ -13,6 +13,9 @@ export class WccFrame extends DeesElement {
@property()
public viewport: string;
@property({ type: Boolean })
public advancedEditorOpen: boolean = false;
public static styles = [
css`
:host {
@ -22,7 +25,6 @@ export class WccFrame extends DeesElement {
left: 200px;
right: 0px;
top: 0px;
bottom: 100px;
overflow-y: auto;
overflow-x: auto;
overscroll-behavior: contain;
@ -41,6 +43,8 @@ export class WccFrame extends DeesElement {
return html`
<style>
:host {
bottom: ${this.advancedEditorOpen ? '400px' : '100px'};
transition: bottom 0.3s ease;
${(() => {
switch (this.viewport) {
case 'desktop':