diff --git a/projects/lib-workspace/src/app/app.component.html b/projects/lib-workspace/src/app/app.component.html index b6e5497..316947f 100644 --- a/projects/lib-workspace/src/app/app.component.html +++ b/projects/lib-workspace/src/app/app.component.html @@ -25,10 +25,10 @@ - + - {{route.icon}} - {{route.title}} + {{route.icon}} + {{route.title}} diff --git a/projects/ng-mat-components/src/fs-nav-frame/components/fs-nav-frame-sidebar-item/fs-nav-frame-sidebar-item.component.html b/projects/ng-mat-components/src/fs-nav-frame/components/fs-nav-frame-sidebar-item/fs-nav-frame-sidebar-item.component.html index 87b4d6e..5fee7e7 100644 --- a/projects/ng-mat-components/src/fs-nav-frame/components/fs-nav-frame-sidebar-item/fs-nav-frame-sidebar-item.component.html +++ b/projects/ng-mat-components/src/fs-nav-frame/components/fs-nav-frame-sidebar-item/fs-nav-frame-sidebar-item.component.html @@ -1,4 +1,4 @@ diff --git a/projects/ng-mat-components/src/fs-nav-frame/components/fs-nav-frame-sidebar-item/fs-nav-frame-sidebar-item.component.scss b/projects/ng-mat-components/src/fs-nav-frame/components/fs-nav-frame-sidebar-item/fs-nav-frame-sidebar-item.component.scss index 00f4243..a71628d 100644 --- a/projects/ng-mat-components/src/fs-nav-frame/components/fs-nav-frame-sidebar-item/fs-nav-frame-sidebar-item.component.scss +++ b/projects/ng-mat-components/src/fs-nav-frame/components/fs-nav-frame-sidebar-item/fs-nav-frame-sidebar-item.component.scss @@ -15,22 +15,22 @@ fs-nav-frame-sidebar-item button { width: 100%; overflow: hidden; text-overflow: ellipsis; - } - .icon { - margin-left: 12px; - } + > i { + margin-left: 12px; + } - .title { - margin-left: 1rem; - white-space: nowrap; - text-overflow: ellipsis; + > span { + margin-left: 1rem; + white-space: nowrap; + text-overflow: ellipsis; + } } } -.sidebar.opened > fs-nav-frame-sidebar > fs-nav-frame-sidebar-item button .title { +.sidebar.opened > fs-nav-frame-sidebar > fs-nav-frame-sidebar-item button .mdc-button__label > span { display: block; } -.sidebar:not(.opened) > fs-nav-frame-sidebar > fs-nav-frame-sidebar-item button .title { +.sidebar:not(.opened) > fs-nav-frame-sidebar > fs-nav-frame-sidebar-item button .mdc-button__label > span { display: none; }