Skip to content

Commit 22692d5

Browse files
Align multi-image lesion window header elements
1 parent 065da7e commit 22692d5

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

sources/styles/common.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ a, .link {
263263
font-weight: 600;
264264
text-align: center;
265265
position: absolute;
266-
left: 50%;
266+
left: calc(50% - 10px);
267267
}
268268
}
269269
}

sources/styles/popups.less

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,11 @@
330330
.container {
331331
position: relative;
332332
.vertical-slider-left, .vertical-slider-right {
333+
.webix_scroll_cont {
334+
display: flex;
335+
align-items: center;
336+
flex-direction: column;
337+
}
333338
position: absolute;
334339
border: none;
335340
z-index: 10;
@@ -398,14 +403,15 @@
398403
}
399404

400405
.vertical-slider-right {
401-
left: 10px;
406+
left: 18px;
402407
}
403408

404409
.multi-image-lesion-window__image-label {
405410
font: Roboto;
406411
font-weight: 500;
407412
font-size: 14px;
408413
line-height: 16px;
414+
text-align: center;
409415
}
410416

411417
.footer-template {
@@ -455,6 +461,7 @@
455461
.webix_inp_static {
456462
border: none;
457463
padding-left: 0px;
464+
padding-top: 2px;
458465
}
459466
.webix_input_icon.wxi-menu-down, .webix_input_icon.wxi-menu-down:focus {
460467
outline: none;

sources/views/subviews/gallery/windows/multiImageLesionWindow.js

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,13 @@ function getConfig(windowTitle, closeCallback) {
7070
cols: [
7171
{width: 20},
7272
leftImageLabel,
73-
{width: 5},
7473
leftAnchorIcon,
75-
{
76-
gravity: 1,
77-
minWidth: 10
78-
},
74+
{},
7975
{
8076
rows: [
81-
{gravity: 1},
77+
{},
8278
leftGroupDropdown,
83-
{gravity: 1},
79+
{},
8480
]
8581
},
8682
{width: 100}
@@ -94,16 +90,15 @@ function getConfig(windowTitle, closeCallback) {
9490
{width: 100},
9591
{
9692
rows: [
97-
{gravity: 1},
93+
{},
9894
rightGroupDropdown,
99-
{gravity: 1},
95+
{},
10096
]
10197
},
102-
{gravity: 1},
98+
{},
10399
rightImageLabel,
104-
{width: 5},
105100
rightAnchorIcon,
106-
{gravity: 1},
101+
{width: 20},
107102
],
108103
};
109104

0 commit comments

Comments
 (0)