Skip to content

Commit

Permalink
chore: fix site
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Dec 31, 2023
1 parent fc1954e commit e295e99
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
11 changes: 10 additions & 1 deletion src/app/shared/components/docs/docs.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,23 @@ import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
import { I18NService, MetaService } from '@core';

import { EditButtonComponent } from '../edit-button/edit-button.component';
import { RouteTransferDirective } from '../route-transfer/route-transfer.directive';

declare var hljs: any;

@Component({
selector: 'app-docs',
templateUrl: './docs.component.html',
standalone: true,
imports: [I18nPipe, NzAffixModule, NzAnchorModule, NzAlertModule, NzToolTipModule, EditButtonComponent]
imports: [
I18nPipe,
RouteTransferDirective,
NzAffixModule,
NzAnchorModule,
NzAlertModule,
NzToolTipModule,
EditButtonComponent
]
})
export class DocsComponent implements OnInit, OnDestroy {
private i18NChange$: Subscription;
Expand Down
6 changes: 4 additions & 2 deletions src/styles/_markdown.less
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,6 @@
}

.markdown.api-container {
overflow-x: auto;

table {
table-layout: auto;
min-width: 720px;
Expand Down Expand Up @@ -325,6 +323,10 @@
hr {
margin: 12px 0;
}

@media (max-width: @site-mobile) {
overflow-x: auto;
}
}

@demo-grid-color: #0092ff;
Expand Down
5 changes: 0 additions & 5 deletions src/typings.d.ts

This file was deleted.

0 comments on commit e295e99

Please sign in to comment.