Skip to content

Commit

Permalink
[#11724] Admin page header tabs do not fit header at certain screen s…
Browse files Browse the repository at this point in the history
…izes (#11799)
  • Loading branch information
parthnatu committed May 21, 2022
1 parent 34874a6 commit eadffc2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/web/app/page.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ nav {
}
}

@media (max-width: 992px) {
@media (max-width: 991px) {
.navbar-nav li {
margin: auto 20px;
}
Expand Down
17 changes: 11 additions & 6 deletions src/web/app/pages-admin/admin-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ export class AdminPageComponent implements OnInit {
url: '/web/admin/sessions',
display: 'Sessions',
},
{
url: '/web/admin/timezone',
display: 'Timezone Listing',
},
{
url: '/web/admin/notifications',
display: 'Notifications',
Expand All @@ -45,8 +41,17 @@ export class AdminPageComponent implements OnInit {
display: 'Logs',
},
{
url: '/web/admin/stats',
display: 'Usage Statistics',
display: 'More',
children: [
{
url: '/web/admin/timezone',
display: 'Timezone Listing',
},
{
url: '/web/admin/stats',
display: 'Usage Statistics',
},
],
},
];
isFetchingAuthDetails: boolean = false;
Expand Down

0 comments on commit eadffc2

Please sign in to comment.