mirror of
https://github.com/penpot/penpot.git
synced 2026-05-28 03:13:40 +00:00
* ♻️ Remove obsolete CSS code * 🐛 Fix post a comment with keyboard * 🐛 Fix show comments cursor on view mode * 🐛 Fix avoid comment bubbles to appear on top of sidebars * 🐛 Fix cancel native browser zoom when comment threads are visible
40 lines
738 B
SCSS
40 lines
738 B
SCSS
// 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
|
|
|
|
@use "common/refactor/common-refactor.scss" as *;
|
|
|
|
.viewport {
|
|
cursor: none;
|
|
grid-column: 1 / span 2;
|
|
grid-row: 1 / span 2;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.viewport-controls {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.render-shapes {
|
|
height: 100%;
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
.viewport-overlays {
|
|
cursor: initial;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
z-index: $z-index-1;
|
|
}
|