File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 2525
2626 <container name =" page.content" as =" page_content" htmlTag =" main" htmlId =" anchor-content" htmlClass =" page-content" >
2727 <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 " />
2929 <container name =" messages.wrapper" as =" messages.wrapper" htmlTag =" div" htmlId =" messages" >
3030 <container name =" page.messages" as =" page.messages" />
3131 </container >
Original file line number Diff line number Diff line change 77// Main elements -> Actions bar
88// _____________________________________________
99
10- // ToDo UI: Consist old styles, should be changed with new design
10+ // ToDo UI -> Consist old styles, should be changed with new design
1111
1212//
1313// Components
2424 padding : @page-main-actions__padding ;
2525}
2626
27+ .actions-scrollable {
28+ .page-actions {
29+ display : flex ;
30+ overflow-x : auto ;
31+ }
32+ }
33+
2734.page-main-actions {
35+ display : flex ;
2836 margin : 0 0 @indent__l ;
2937
3038 & ._hidden {
4452
4553.page-actions {
4654 @_page-action__indent : 1.3rem ;
55+ margin-left : auto ;
56+ order : 2 ;
4757
4858 & .floating-header {
4959 & :extend(.page-actions-buttons all );
8696
8797 & .back ,
8898 & .action-back {
89- // ToDo UI: Should be changed to ._back
99+ // ToDo UI -> Should be changed to ._back
90100 float : left ;
91101 .lib-vendor-prefix-order (-1 );
92102
101111
102112 & .action-primary ,
103113 & .primary {
104- // ToDo UI: Should be changed to .action-primary
114+ // ToDo UI -> Should be changed to .action-primary
105115 & :extend(.abs-action-primary all );
106116 & :extend(.abs-action-l all );
107117 .lib-vendor-prefix-order (2 );
113123 }
114124
115125 & .save {
116- // ToDo UI: Should be changed to ._save
126+ // ToDo UI -> Should be changed to ._save
117127 & :not (.primary ) {
118128 .lib-vendor-prefix-order (1 );
119129 }
120130 }
121131
122132 & .delete {
123- // ToDo UI: Should be changed to ._delete
133+ // ToDo UI -> Should be changed to ._delete
124134 .lib-vendor-prefix-order (-1 );
125135 }
126136 }
You can’t perform that action at this time.
0 commit comments