// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. // // Copyright (c) KALEIDOS INC @import "refactor/common-refactor.scss"; .workspace { @extend .new-scrollbar; width: 100vw; height: 100vh; max-height: 100vh; user-select: none; display: grid; grid-template-areas: "left-sidebar viewport right-sidebar"; grid-template-rows: 1fr; grid-template-columns: auto 1fr auto; overflow: hidden; } .workspace-loader { grid-area: viewport; } .workspace-content { background-color: var(--color-canvas); display: flex; padding: 0; margin: 0; grid-area: viewport; } .history-debug-overlay { bottom: 0; max-height: $s-500; width: $s-500; overflow-y: auto; position: absolute; z-index: $z-index-modal; } .workspace-viewport { overflow: hidden; transition: none; display: grid; grid-template-rows: $s-20 1fr; grid-template-columns: $s-20 1fr; flex: 1; }