Skip to content

Commit b21db69

Browse files
authored
fix: make Key-Value widget higher [skip ci] (#252)
Since the Polaris migration of CloudWatch dashboards, the Key-Value widget does not fit into the given default height. There is a scrollbar shown. This CR raises the height by 1, which is sufficient raise. --- _By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license_
1 parent e90de32 commit b21db69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/dashboard/widget/KeyValueTableWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class KeyValueTableWidget extends TextWidget {
66
constructor(data: [string, string][]) {
77
super({
88
width: FullWidth,
9-
height: 2,
9+
height: 3,
1010
markdown: KeyValueTableWidget.toMarkdown(data),
1111
});
1212
}

test/dashboard/widget/__snapshots__/KeyValueTableWidget.test.ts.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)