Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
lib
react-ag-qeditor
Commits
985f276c
Commit
985f276c
authored
Aug 28, 2026
by
Яков
Browse files
Панель: отбивка групп 6+1+6 под реальную ширину 1080
parent
073acecc
Changes
2
Show whitespace changes
Inline
Side-by-side
src/index.scss
View file @
985f276c
...
...
@@ -255,9 +255,14 @@ body{
// ── Панель ───────────────────────────────────────────────────────────
//
// Геометрия из макета: кнопка 32×32, зазор внутри группы 2, отбивка
// между группами 8 + разделитель 1 + 8, поля панели 4/9. На 1600 px
// сорок кнопок укладываются в один ряд высотой 42.
// Геометрия из макета: кнопка 32×32, зазор внутри группы 2, поля панели 4/9.
//
// Отбивка между группами взята 6 + разделитель 1 + 6 вместо макетных 8+1+8.
// Причина в ширине: макет рисовался на панель 1600 px, а в админке она 1080
// (рамка редактора ограничена 1100). На такой ширине лишние 4 px у каждого
// из шести разделителей — это второй ряд кнопок целиком. Один ряд важнее
// четырёх пикселей воздуха; при желании расширить рамку редактора отбивка
// вернётся к макетной.
&-toolbar{
display: flex;
flex-wrap: wrap;
...
...
@@ -270,7 +275,7 @@ body{
border: 1px solid #E3E7EC;
background-color: #ffffff;
box-shadow: 0 -3px 0 3px #ffffff;
padding: 4px
9
px;
padding: 4px
6
px;
z-index: var(--atma-toolbar-z-index, 10);
gap: 2px;
...
...
@@ -319,7 +324,7 @@ body{
width: 1px;
height: 20px;
background-color: #E3E7EC;
margin: 0
8
px;
margin: 0
6
px;
flex-shrink: 0;
}
}
...
...
yarn.lock
View file @
985f276c
...
...
@@ -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":
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:
"@ant-design/icons" "^6.0.0"
"@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:
levenary "^1.1.1"
prosemirror-state "^1.4.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-media-recorder "^1.6.6"
react-stopwatch "^2.0.4"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment