File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
gravitee-apim-console-webui/src/portal/navigation-items Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,19 @@ <h3>Navigation items</h3>
4545 </ header >
4646
4747 @if (menuLinks$ | async; as menuLinks) {
48- < portal-tree-component [links] ="menuLinks " [selectedId] ="navId() " (select) ="onSelect($event) " />
48+ < mat-card appearance ="outlined " class ="sections-panel__tree__container ">
49+ < portal-tree-component [links] ="menuLinks " [selectedId] ="navId() " (select) ="onSelect($event) " />
50+ </ mat-card >
4951 }
5052 </ section >
5153
5254 < section class ="panel editor-panel ">
5355 < header class ="panel-header editor-panel__header ">
56+ @if (selectedNavigationItem()) {
57+ < div class ="panel-header__title ">
58+ {{ selectedNavigationItem().label }}
59+ </ div >
60+ }
5461 < div class ="panel-header__actions " *gioPermission ="{ anyOf: ['environment-documentation-u'] } ">
5562 < button mat-stroked-button [disabled] ="contentControl.pristine "> Save</ button >
5663 </ div >
Original file line number Diff line number Diff line change 1919
2020@use ' ../../scss/gio-layout' as gio-layout ;
2121
22+ $typography : map .get (gio .$mat-theme , typography );
23+
2224:host {
2325 @include gio-layout .gio-responsive-content-container ;
2426 display : flex ;
4850 align-items : center ;
4951 flex-shrink : 0 ;
5052
53+ & __title {
54+ @include mat .m2-typography-level ($typography , ' subtitle-1' );
55+ }
56+
5157 & __actions {
5258 margin-left : auto ;
5359
8086 }
8187 }
8288
83- portal-tree-component {
89+ & __tree__container {
8490 height : 100% ;
91+ overflow-y : scroll ;
92+ overflow-x : hidden ;
93+ width : 350px ;
94+ portal-tree-component {
95+ height : 100% ;
96+ }
8597 }
8698}
8799
You can’t perform that action at this time.
0 commit comments