diff --git a/docs/app/blocks/components/methods-block/methods-block.component.ts b/docs/app/blocks/components/methods-block/methods-block.component.ts
index 9cfea34d23..1bb79e5f37 100644
--- a/docs/app/blocks/components/methods-block/methods-block.component.ts
+++ b/docs/app/blocks/components/methods-block/methods-block.component.ts
@@ -18,8 +18,8 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
-
-
+
+
{{ method.name }}() static method |
@@ -36,8 +36,8 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
{{ method.shortDescription }} {{ method.description }}
|
-
-
+
+
`,
diff --git a/docs/app/documentation/page/page.component.scss b/docs/app/documentation/page/page.component.scss
index b500c31885..1ff9a4a8eb 100644
--- a/docs/app/documentation/page/page.component.scss
+++ b/docs/app/documentation/page/page.component.scss
@@ -103,15 +103,18 @@
}
tr {
- border-bottom: 1px solid $table-border;
+ border-bottom: $table-border;
&:last-child {
border: none;
}
+ p {
+ margin-bottom: 0;
+ }
}
td {
- padding: 0.5rem;
+ padding: 1rem 0.5rem;
&:first-child {
font-weight: 500;
diff --git a/docs/app/example/example.component.ts b/docs/app/example/example.component.ts
index 7db98c2500..25895f1e5f 100644
--- a/docs/app/example/example.component.ts
+++ b/docs/app/example/example.component.ts
@@ -44,6 +44,7 @@ export class NgdExampleComponent implements OnInit, AfterViewInit, OnDestroy {
private changeTheme(payload) {
this.themeService.changeTheme(payload.theme);
+ this.sendHeight(); // theme change may cause change of height
}
private getId(): string {