Commit 985f276c authored by Яков's avatar Яков
Browse files

Панель: отбивка групп 6+1+6 под реальную ширину 1080

parent 073acecc
...@@ -255,9 +255,14 @@ body{ ...@@ -255,9 +255,14 @@ body{
// ── Панель ─────────────────────────────────────────────────────────── // ── Панель ───────────────────────────────────────────────────────────
// //
// Геометрия из макета: кнопка 32×32, зазор внутри группы 2, отбивка // Геометрия из макета: кнопка 32×32, зазор внутри группы 2, поля панели 4/9.
// между группами 8 + разделитель 1 + 8, поля панели 4/9. На 1600 px //
// сорок кнопок укладываются в один ряд высотой 42. // Отбивка между группами взята 6 + разделитель 1 + 6 вместо макетных 8+1+8.
// Причина в ширине: макет рисовался на панель 1600 px, а в админке она 1080
// (рамка редактора ограничена 1100). На такой ширине лишние 4 px у каждого
// из шести разделителей — это второй ряд кнопок целиком. Один ряд важнее
// четырёх пикселей воздуха; при желании расширить рамку редактора отбивка
// вернётся к макетной.
&-toolbar{ &-toolbar{
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
...@@ -270,7 +275,7 @@ body{ ...@@ -270,7 +275,7 @@ body{
border: 1px solid #E3E7EC; border: 1px solid #E3E7EC;
background-color: #ffffff; background-color: #ffffff;
box-shadow: 0 -3px 0 3px #ffffff; box-shadow: 0 -3px 0 3px #ffffff;
padding: 4px 9px; padding: 4px 6px;
z-index: var(--atma-toolbar-z-index, 10); z-index: var(--atma-toolbar-z-index, 10);
gap: 2px; gap: 2px;
...@@ -319,7 +324,7 @@ body{ ...@@ -319,7 +324,7 @@ body{
width: 1px; width: 1px;
height: 20px; height: 20px;
background-color: #E3E7EC; background-color: #E3E7EC;
margin: 0 8px; margin: 0 6px;
flex-shrink: 0; flex-shrink: 0;
} }
} }
......
...@@ -11947,7 +11947,7 @@ rc-virtual-list@^3.14.2, rc-virtual-list@^3.5.1, rc-virtual-list@^3.5.2: ...@@ -11947,7 +11947,7 @@ rc-virtual-list@^3.14.2, rc-virtual-list@^3.5.1, rc-virtual-list@^3.5.2:
   
"react-ag-qeditor@git+https://gitlab.atma.company/lib/react-ag-qeditor.git#tiptap": "react-ag-qeditor@git+https://gitlab.atma.company/lib/react-ag-qeditor.git#tiptap":
version "1.1.78" version "1.1.78"
resolved "git+https://gitlab.atma.company/lib/react-ag-qeditor.git#14cb6b4ea8570a6e36a65506e229bffa0b0af59e" resolved "git+https://gitlab.atma.company/lib/react-ag-qeditor.git#073aceccc5b89bb2709fd6d156ffa04bfe7773bc"
dependencies: dependencies:
"@ant-design/icons" "^6.0.0" "@ant-design/icons" "^6.0.0"
"@babel/helper-environment-visitor" "^7.24.7" "@babel/helper-environment-visitor" "^7.24.7"
...@@ -11981,6 +11981,7 @@ rc-virtual-list@^3.14.2, rc-virtual-list@^3.5.1, rc-virtual-list@^3.5.2: ...@@ -11981,6 +11981,7 @@ rc-virtual-list@^3.14.2, rc-virtual-list@^3.5.1, rc-virtual-list@^3.5.2:
levenary "^1.1.1" levenary "^1.1.1"
prosemirror-state "^1.4.3" prosemirror-state "^1.4.3"
rc-upload "^4.3.3" rc-upload "^4.3.3"
react-ag-qeditor "git+https://gitlab.atma.company/lib/react-ag-qeditor.git#tiptap"
react-device-detect "^2.2.3" react-device-detect "^2.2.3"
react-media-recorder "^1.6.6" react-media-recorder "^1.6.6"
react-stopwatch "^2.0.4" react-stopwatch "^2.0.4"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment