File tree Expand file tree Collapse file tree 5 files changed +26
-17
lines changed
components/object-inspector Expand file tree Collapse file tree 5 files changed +26
-17
lines changed Original file line number Diff line number Diff line change 1+ <button
2+ class =" object-inspector-toggle toolbar-icon-button"
3+ type =" button"
4+ title =" {{ if this.layout.inspectorExpanded " hide" " show" }} object inspector"
5+ ...attributes
6+ {{ on " click" this.layout.toggleInspector }}
7+ >
8+ {{ svg-jar " sidebar-toggle-trailing" width =" 16" height =" 16" }}
9+ </button >
Original file line number Diff line number Diff line change 1+ import Component from '@glimmer/component' ;
2+ import { inject as service } from '@ember/service' ;
3+
4+ export default class PropertiesGrouped extends Component {
5+ @service layout ;
6+ }
Original file line number Diff line number Diff line change 11.object-inspector-toggle.toolbar-icon-button {
2- margin-right : 0 ; // .toolbar-icon-button override
32 max-height : var (--toolbar-height );
4- padding-right : 6px ; // .toolbar-icon-button override
5- padding-left : 6px ; // .toolbar-icon-button override
6- transform : scaleX (-1 );
7-
8- // use .toolbar-icon-button active style AND flip horizontally
9- & :active {
10- transform : translate (1px , 1px ) scaleX (-1 );
11- }
3+ padding-inline : 6px ; // .toolbar-icon-button override
124}
Original file line number Diff line number Diff line change 4747 <div class =" split-panel" >
4848 <div class =" split-panel-hd" >
4949 <div id =" toolbar" ></div >
50- <button
51- class =" object-inspector-toggle toolbar-icon-button absolute top-0 right-0"
52- {{ on " click" this.layoutService.toggleInspector }}
53- type =" button"
54- title =" {{ if this.layoutService.inspectorExpanded " hide" " show" }} object inspector"
55- >
56- {{ svg-jar " sidebar-toggle" width =" 16" height =" 16" }}
57- </button >
50+ <ObjectInspector::Toggle class =" align-end" />
5851 </div >
5952
6053 <div class =" split-panel-bd" {{ did-insert this.setupContentElement }} >
You can’t perform that action at this time.
0 commit comments