Skip to content
Snippets Groups Projects
Commit f4b48820 authored by Ekaterina Kondareva's avatar Ekaterina Kondareva
Browse files

key figures fix for 5 items

parent 78938bb4
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ export class HyKeyFigureGroup implements ComponentInterface { ...@@ -56,7 +56,7 @@ export class HyKeyFigureGroup implements ComponentInterface {
const classRowCenteredAttributes = ['hy-key-figure-group', 'hy-key-figure-group-centered'].join(' '); const classRowCenteredAttributes = ['hy-key-figure-group', 'hy-key-figure-group-centered'].join(' ');
if (this._dataItems.length % 5 == 0) { if (this._dataItems.length % 5 == 0) {
return [ return (
<Host> <Host>
<div class={classAttributes}> <div class={classAttributes}>
<div class={classRowAttributes}> <div class={classRowAttributes}>
...@@ -89,8 +89,8 @@ export class HyKeyFigureGroup implements ComponentInterface { ...@@ -89,8 +89,8 @@ export class HyKeyFigureGroup implements ComponentInterface {
</div> </div>
</div> </div>
<hy-box pb="1.5, 2.5, 2.5" /> <hy-box pb="1.5, 2.5, 2.5" />
</Host>, </Host>
]; );
} else { } else {
return ( return (
<Host> <Host>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment