Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Andrey Antukh
2025-11-03 11:41:13 +01:00
8 changed files with 62 additions and 17 deletions

View File

@@ -7,7 +7,13 @@
@use "refactor/common-refactor.scss" as deprecated;
.element-set {
margin: 0;
display: grid;
grid-template-columns: repeat(8, var(--sp-xxxl));
column-gap: var(--sp-xs);
}
.element-title {
grid-column: span 8;
}
.title-spacing-blur {

View File

@@ -7,7 +7,13 @@
@use "refactor/common-refactor.scss" as deprecated;
.element-set {
margin: 0;
display: grid;
grid-template-columns: repeat(8, var(--sp-xxxl));
column-gap: var(--sp-xs);
}
.element-title {
grid-column: span 8;
}
.title-spacing-selected-colors {
@@ -25,6 +31,7 @@
}
.element-content {
grid-column: span 8;
@include deprecated.flexColumn;
margin-bottom: deprecated.$s-8;
}

View File

@@ -7,7 +7,13 @@
@use "refactor/common-refactor.scss" as deprecated;
.element-set {
margin: 0;
display: grid;
grid-template-columns: repeat(8, var(--sp-xxxl));
column-gap: var(--sp-xs);
}
.element-title {
grid-column: span 8;
}
.title-spacing-export {

View File

@@ -316,16 +316,17 @@
#(st/emit! (dw/add-frame-grid id)))]
[:div {:class (stl/css :element-set)}
[:> title-bar* {:collapsable has-frame-grids?
:collapsed (not open?)
:on-collapsed toggle-content
:class (stl/css-case :title-spacing-board-grid (not has-frame-grids?))
:title (tr "workspace.options.guides.title")}
[:div {:class (stl/css :element-title)}
[:> title-bar* {:collapsable has-frame-grids?
:collapsed (not open?)
:on-collapsed toggle-content
:class (stl/css-case :title-spacing-board-grid (not has-frame-grids?))
:title (tr "workspace.options.guides.title")}
[:> icon-button* {:variant "ghost"
:aria-label (tr "workspace.options.guides.add-guide")
:on-click handle-create-grid
:icon i/add}]]
[:> icon-button* {:variant "ghost"
:aria-label (tr "workspace.options.guides.add-guide")
:on-click handle-create-grid
:icon i/add}]]]
(when (and open? (seq frame-grids))
[:div {:class (stl/css :element-set-content)}

View File

@@ -7,7 +7,13 @@
@use "refactor/common-refactor.scss" as deprecated;
.element-set {
margin: 0;
display: grid;
grid-template-columns: repeat(8, var(--sp-xxxl));
column-gap: var(--sp-xs);
}
.element-title {
grid-column: span 8;
}
.title-spacing-board-grid {

View File

@@ -12,10 +12,21 @@
gap: deprecated.$s-16;
}
.grid-cell-menu {
display: grid;
grid-template-columns: repeat(8, var(--sp-xxxl));
column-gap: var(--sp-xs);
}
.grid-cell-menu-title {
grid-column: span 8;
font-size: deprecated.$fs-11;
}
.grid-cell-menu-container {
grid-column: span 8;
}
.row {
@include deprecated.flexRow;
}

View File

@@ -5,7 +5,6 @@
// Copyright (c) KALEIDOS INC
// TODO: When button replace remove this @use
@use "refactor/common-refactor.scss" as deprecated;
@use "ds/_utils.scss" as *;
@use "ds/_sizes.scss" as *;
@use "ds/_borders.scss" as *;
@@ -14,7 +13,13 @@
@use "ds/mixins.scss" as *;
.element-set {
margin: 0;
display: grid;
grid-template-columns: repeat(8, var(--sp-xxxl));
column-gap: var(--sp-xs);
}
.element-title {
grid-column: span 8;
}
.title-spacing-layout {

View File

@@ -7,14 +7,17 @@
@use "refactor/common-refactor.scss" as deprecated;
.element-set {
margin: 0;
display: grid;
grid-template-columns: repeat(8, var(--sp-xxxl));
column-gap: var(--sp-xs);
}
.element-title {
margin: 0;
grid-column: span 8;
}
.element-content {
grid-column: span 8;
@include deprecated.flexColumn;
margin-top: deprecated.$s-4;
}