@sequent-org/moodboard 1.4.39 → 1.4.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -78,7 +78,7 @@ export async function initCoreMoodBoard(board) {
|
|
|
78
78
|
boardId: board.options.boardId || 'workspace-board',
|
|
79
79
|
width: canvasSize.width,
|
|
80
80
|
height: canvasSize.height,
|
|
81
|
-
backgroundColor: board.options.theme === 'dark' ? 0x2a2a2a : parseInt(BOARD_PALETTE[
|
|
81
|
+
backgroundColor: board.options.theme === 'dark' ? 0x2a2a2a : parseInt(BOARD_PALETTE[4].board.replace('#', ''), 16),
|
|
82
82
|
saveEndpoint: board.options.saveEndpoint,
|
|
83
83
|
loadEndpoint: board.options.loadEndpoint,
|
|
84
84
|
};
|
package/src/ui/styles/chat.css
CHANGED
|
@@ -20,6 +20,18 @@
|
|
|
20
20
|
color: #374151;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
/* Fallback: на экранах < 1540px центрированный чат перекрывает правый кластер —
|
|
24
|
+
поднимаем чат над кластером и прижимаем к правому краю */
|
|
25
|
+
@media (max-width: 1540px) {
|
|
26
|
+
.moodboard-chat {
|
|
27
|
+
left: auto;
|
|
28
|
+
right: 16px;
|
|
29
|
+
bottom: 84px;
|
|
30
|
+
transform: none;
|
|
31
|
+
width: min(720px, calc(100% - 32px));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
23
35
|
.moodboard-chat__history {
|
|
24
36
|
max-height: 360px;
|
|
25
37
|
overflow-y: auto;
|