plan-display { position: absolute; z-index: 1000; } :host { display: flex; max-height: 100vh; max-width: 100vw; height: 100vh; width: 100vw; } .editor { max-height: 100%; overflow-y: hidden; } plan-display { position: absolute; width: 100vw; height: 100vh; pointer-events: none; } .main-container { flex: 1 1 auto; } .content { height: 100%; display: flex; flex-direction: column; } mat-tab-group { height: 100%; } .settings { height: 100%; } .tooltip { position: absolute; top: 0; right: 0; z-index: 5000; cursor: help; } .tooltip-area { background-color: rgba(50, 50, 50, 1); color: white; // width: 500px; }