Skip to content

Commit

Permalink
style(layout): format NavbarComponent code with vscode formatter
Browse files Browse the repository at this point in the history
- Apply Visual Studio Code formatter to NavbarComponent
- Adjust indentation and line breaks for better readability
- Update style encapsulation for component styles
  • Loading branch information
vnobo committed Dec 3, 2024
1 parent 1225b02 commit 8a64a1c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ng-ui/src/app/layout/basic/widgets/navbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { LoginService } from '@app/pages';
import { SHARED_IMPORTS } from '@app/shared/shared-imports';

@Component({
selector: 'layout-navbar,[layoutNavbar]',
imports: [...SHARED_IMPORTS],
template: ` <div class="navbar d-print-none">
selector: 'layout-navbar,[layoutNavbar]',
imports: [...SHARED_IMPORTS],
template: ` <div class="navbar d-print-none">
<div class="container-fluid">
<button
class="navbar-toggler"
Expand Down Expand Up @@ -285,22 +285,22 @@ import { SHARED_IMPORTS } from '@app/shared/shared-imports';
</div>
</div>
</div>`,
styles: [
`
styles: [
`
:host {
min-height: 100%;
min-width: 100%;
}
`,
`
`
.nz-page-header {
position: relative;
padding: 0;
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
height: 100%;
}
`,
`
`
.header-trigger {
height: 64px;
padding: 20px 24px;
Expand All @@ -309,7 +309,7 @@ import { SHARED_IMPORTS } from '@app/shared/shared-imports';
transition: all 0.3s, padding 0s;
}
`,
]
],
})
export class LayoutNavbarComponent implements OnInit {
private readonly loginSer = inject(LoginService);
Expand Down

0 comments on commit 8a64a1c

Please sign in to comment.