File tree 2 files changed +16
-6
lines changed
code/Magento/Theme/view/adminhtml/page_layout
design/adminhtml/Magento/backend/Magento_Backend/web/css/source/module/main
2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 25
25
26
26
<container name =" page.content" as =" page_content" htmlTag =" main" htmlId =" anchor-content" htmlClass =" page-content" >
27
27
<container name =" main.top" as =" main-top" label =" main-top" />
28
- <container name =" page.main.actions" as =" page_main_actions" htmlTag =" div" htmlClass =" page-main-actions" />
28
+ <container name =" page.main.actions" as =" page_main_actions" htmlTag =" div" htmlClass =" page-main-actions actions-scrollable " />
29
29
<container name =" messages.wrapper" as =" messages.wrapper" htmlTag =" div" htmlId =" messages" >
30
30
<container name =" page.messages" as =" page.messages" />
31
31
</container >
Original file line number Diff line number Diff line change 7
7
// Main elements -> Actions bar
8
8
// _____________________________________________
9
9
10
- // ToDo UI: Consist old styles, should be changed with new design
10
+ // ToDo UI -> Consist old styles, should be changed with new design
11
11
12
12
//
13
13
// Components
24
24
padding : @page-main-actions__padding ;
25
25
}
26
26
27
+ .actions-scrollable {
28
+ .page-actions {
29
+ display : flex ;
30
+ overflow-x : auto ;
31
+ }
32
+ }
33
+
27
34
.page-main-actions {
35
+ display : flex ;
28
36
margin : 0 0 @indent__l ;
29
37
30
38
& ._hidden {
44
52
45
53
.page-actions {
46
54
@_page-action__indent : 1.3rem ;
55
+ margin-left : auto ;
56
+ order : 2 ;
47
57
48
58
& .floating-header {
49
59
& :extend(.page-actions-buttons all );
86
96
87
97
& .back ,
88
98
& .action-back {
89
- // ToDo UI: Should be changed to ._back
99
+ // ToDo UI -> Should be changed to ._back
90
100
float : left ;
91
101
.lib-vendor-prefix-order (-1 );
92
102
101
111
102
112
& .action-primary ,
103
113
& .primary {
104
- // ToDo UI: Should be changed to .action-primary
114
+ // ToDo UI -> Should be changed to .action-primary
105
115
& :extend(.abs-action-primary all );
106
116
& :extend(.abs-action-l all );
107
117
.lib-vendor-prefix-order (2 );
113
123
}
114
124
115
125
& .save {
116
- // ToDo UI: Should be changed to ._save
126
+ // ToDo UI -> Should be changed to ._save
117
127
& :not (.primary ) {
118
128
.lib-vendor-prefix-order (1 );
119
129
}
120
130
}
121
131
122
132
& .delete {
123
- // ToDo UI: Should be changed to ._delete
133
+ // ToDo UI -> Should be changed to ._delete
124
134
.lib-vendor-prefix-order (-1 );
125
135
}
126
136
}
You can’t perform that action at this time.
0 commit comments