Changes
2 changed files (+18/-8)
-
-
@@ -22,13 +22,19 @@ }const nodeStyles = new NodeStyles(node); // In order to disable canvas interactions (e.g. pan, click to // deselect), we need to cancel JavaScript event propagation // on the root element. const stopPropagation = (ev: Event) => ev.stopPropagation(); return html` <div class="inspector-view" @click=${(ev: Event) => { // TODO: remove this once this element is moved outside of ViewerMixin ev.stopPropagation(); }} @click=${stopPropagation} @wheel=${stopPropagation} @keydown=${stopPropagation} @keyup=${stopPropagation} @pointermove=${stopPropagation} > <div class="inspector-section selectable-content"> <div class="title-section">
-
@@ -126,12 +132,13 @@ };export const styles = css` .inspector-view { height: 100vh; height: 100%; width: 300px; position: fixed; position: absolute; right: 0; background: white; border-left: 1px solid #ccc; overflow-y: auto; } .inspector-view h4 {
-
-
-
@@ -100,8 +100,11 @@ z-index: var(--z-index);} .spec-canvas-wrapper { width: 100vw; height: 100vh; position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .canvas {
-