File tree Expand file tree Collapse file tree 12 files changed +26
-11
lines changed
Catalog/view/adminhtml/ui_component
Swatches/view/adminhtml/ui_component
Ui/view/base/web/templates/dynamic-rows/templates
design/adminhtml/Magento/backend
Magento_Staging/web/css/source/module Expand file tree Collapse file tree 12 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 552
552
<item name =" required" xsi : type =" boolean" >false</item >
553
553
<item name =" sortOrder" xsi : type =" number" >220</item >
554
554
<item name =" breakLine" xsi : type =" boolean" >false</item >
555
+ <item name =" scopeLabel" xsi : type =" string" >[STORE VIEW]</item >
555
556
<item name =" imports" xsi : type =" array" >
556
557
<item name =" disabled" xsi : type =" string" >ns = ${ $.ns }, index = custom_use_parent_settings :checked</item >
557
558
</item >
564
565
<item name =" sortOrder" xsi : type =" number" >230</item >
565
566
<item name =" dataType" xsi : type =" string" >string</item >
566
567
<item name =" formElement" xsi : type =" string" >date</item >
568
+ <item name =" scopeLabel" xsi : type =" string" />
567
569
<item name =" imports" xsi : type =" array" >
568
570
<item name =" disabled" xsi : type =" string" >ns = ${ $.ns }, index = custom_use_parent_settings :checked</item >
569
571
</item >
578
580
<item name =" dataType" xsi : type =" string" >string</item >
579
581
<item name =" label" xsi : type =" string" translate =" true" >To</item >
580
582
<item name =" formElement" xsi : type =" string" >date</item >
583
+ <item name =" scopeLabel" xsi : type =" string" />
581
584
<item name =" imports" xsi : type =" array" >
582
585
<item name =" disabled" xsi : type =" string" >ns = ${ $.ns }, index = custom_use_parent_settings :checked</item >
583
586
</item >
Original file line number Diff line number Diff line change 158
158
<item name =" prefer" xsi : type =" string" >radio</item >
159
159
<item name =" sortOrder" xsi : type =" string" >0</item >
160
160
<item name =" columnsHeaderClasses" xsi : type =" string" >control-table-options-th</item >
161
+ <item name =" additionalClasses" xsi : type =" string" >control-table-options-cell</item >
161
162
<item name =" modules" xsi : type =" array" >
162
163
<item name =" rows" xsi : type =" string" >ns = ${ $.ns }, index = attribute_options_select</item >
163
164
</item >
229
230
<item name =" value" xsi : type =" string" >1</item >
230
231
<item name =" sortOrder" xsi : type =" string" >0</item >
231
232
<item name =" columnsHeaderClasses" xsi : type =" string" >control-table-options-th</item >
233
+ <item name =" additionalClasses" xsi : type =" string" >control-table-options-cell</item >
232
234
<item name =" modules" xsi : type =" array" >
233
235
<item name =" rows" xsi : type =" string" >ns = ${ $.ns }, index = attribute_options_multiselect</item >
234
236
</item >
Original file line number Diff line number Diff line change 105
105
<item name =" prefer" xsi : type =" string" >radio</item >
106
106
<item name =" sortOrder" xsi : type =" string" >0</item >
107
107
<item name =" columnsHeaderClasses" xsi : type =" string" >control-table-options-th</item >
108
+ <item name =" additionalClasses" xsi : type =" string" >control-table-options-cell</item >
108
109
</item >
109
110
</argument >
110
111
</field >
246
247
<item name =" prefer" xsi : type =" string" >radio</item >
247
248
<item name =" sortOrder" xsi : type =" string" >0</item >
248
249
<item name =" columnsHeaderClasses" xsi : type =" string" >control-table-options-th</item >
250
+ <item name =" additionalClasses" xsi : type =" string" >control-table-options-cell</item >
249
251
</item >
250
252
</argument >
251
253
</field >
Original file line number Diff line number Diff line change 15
15
< thead if ="element.columnsHeader ">
16
16
< tr data-bind ="foreach: {data: labels, as: 'label'} ">
17
17
< th text ="label.config.label "
18
- css ="$parent.setClasses(label.config) ">
18
+ css ="item.columnsHeaderClasses ">
19
19
</ th >
20
20
</ tr >
21
21
</ thead >
Original file line number Diff line number Diff line change 18
18
19
19
<!-- ko foreach: {data: labels, as: 'item'} -->
20
20
< th text ="item.label "
21
- css ="$parent.setClasses( item) "
21
+ css ="item.columnsHeaderClasses "
22
22
visible ="item.visible "
23
- disabled ="item.disabled "
23
+ disable ="item.disabled "
24
24
attr ="{'data-name': name} "/>
25
25
<!-- /ko -->
26
26
</ tr >
Original file line number Diff line number Diff line change 26
26
text ="item.label "
27
27
visible ="item.visible "
28
28
disable ="item.disabled "
29
- css ="$parent.setClasses( item) ">
29
+ css ="item.columnsHeaderClasses ">
30
30
</ th >
31
31
<!-- /ko -->
32
32
</ tr >
Original file line number Diff line number Diff line change 226
226
.limited-text {
227
227
display : inline-block ;
228
228
line-height : 1.4em ;
229
- max-height : 2 .4em ; // Exactly 3 lines
229
+ max-height : 4 .4em ; // Exactly 3 lines
230
230
overflow : hidden ;
231
231
position : relative ;
232
232
vertical-align : top ;
254
254
-webkit-line-clamp : 3 ;
255
255
display : -webkit-box ;
256
256
height : auto ;
257
- max-height : 3.6 em ; // Is needed to get it work
257
+ max-height : 4.4 em ; // Is needed to get it work
258
258
259
259
& :after {
260
260
display : none ;
314
314
.schedule-summary-name ,
315
315
.schedule-summary-date {
316
316
display : table-cell ;
317
+ padding-right : .5rem ;
317
318
}
318
319
319
320
.schedule-summary-name {
Original file line number Diff line number Diff line change 71
71
cursor : pointer ;
72
72
float : left ;
73
73
font-size : @staging-preview-header__font-size ;
74
+ min-height : 8.5rem ;
74
75
padding : 1.5rem @indent__xl @indent__m ;
75
76
position : relative ;
76
77
Original file line number Diff line number Diff line change 113
113
min-width : @field-size__m ;
114
114
right : auto ;
115
115
top : auto ;
116
+ z-index : 1 ;
116
117
}
117
118
}
118
119
Original file line number Diff line number Diff line change 25
25
}
26
26
27
27
.data-tooltip-wrapper {
28
+ max-width : 75% ;
28
29
position : absolute ;
29
30
top : 0 ;
30
31
z-index : @data-tooltip__z-index ;
Original file line number Diff line number Diff line change 138
138
width : 10rem ;
139
139
}
140
140
141
+ .control-table-options-cell {
142
+ text-align : center ;
143
+ }
144
+
141
145
// Static text in row
142
146
.control-table-text {
143
147
line-height : 3.2rem ;
204
208
padding : 0 ;
205
209
}
206
210
}
207
-
208
- .admin__field-option {
209
- text-align : center ;
210
- }
211
211
}
Original file line number Diff line number Diff line change @@ -106,7 +106,11 @@ define([
106
106
107
107
elem . on ( 'click.toggleDropdown' , function ( ) {
108
108
if ( options . autoclose === true ) {
109
- self . reset ( { elems : actionElem . not ( elem ) } ) ;
109
+ var elem = actionElem ;
110
+
111
+ actionElem = $ ( ) ;
112
+ $ ( document ) . trigger ( 'click.hideDropdown' ) ;
113
+ actionElem = elem ;
110
114
}
111
115
self [ elem . hasClass ( options . activeClass ) ? 'closeDropdown' : 'openDropdown' ] ( elem ) ;
112
116
You can’t perform that action at this time.
0 commit comments