Refine BIM comment modal constraints

This commit is contained in:
CODEX
2026-06-20 23:34:41 +03:00
parent eee3eecde3
commit 4be23070a1
3 changed files with 25 additions and 13 deletions
+11
View File
@@ -1696,6 +1696,7 @@ header {
.comment-card-modal {
position: fixed;
--env-control-h: 42px;
--comment-modal-min-width: 660px;
--ops-comment-accent: var(--comment-target-active, #c4ff67);
--ops-detail-bg: var(--nodedc-glass-panel-bg);
--ops-detail-surface: rgba(255, 255, 255, 0.048);
@@ -1707,6 +1708,7 @@ header {
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto;
width: min(880px, calc(100vw - 48px));
min-width: min(var(--comment-modal-min-width), calc(100vw - 24px));
max-height: min(820px, calc(100vh - 68px));
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.06);
@@ -2111,12 +2113,14 @@ header {
font-size: 15px;
font-weight: 760;
line-height: 1.2;
white-space: nowrap;
}
.ops-detail-dropzone__copy span {
color: rgba(245, 245, 250, 0.52);
font-size: 13px;
line-height: 1.2;
white-space: nowrap;
}
.comment-attach-button {
@@ -2130,6 +2134,7 @@ header {
font-size: 13px;
font-weight: 800;
padding: 0 14px;
white-space: nowrap;
}
.comment-attach-button:hover {
@@ -2377,6 +2382,7 @@ header {
top: 14px;
left: 12px;
width: calc(100vw - 24px);
min-width: 0;
max-height: calc(100vh - 28px);
border-radius: 24px;
}
@@ -2392,6 +2398,11 @@ header {
grid-template-columns: 30px minmax(0, 1fr);
}
.ops-detail-dropzone__copy strong,
.ops-detail-dropzone__copy span {
white-space: normal;
}
.ops-detail-dropzone .comment-attach-button {
grid-column: 2;
justify-self: start;