diff --git a/packages/dnb-design-system-portal/src/pages/uilib/performance-test.md b/packages/dnb-design-system-portal/src/pages/uilib/performance-test.md index ff9e4a71819..84ca4b9c71a 100644 --- a/packages/dnb-design-system-portal/src/pages/uilib/performance-test.md +++ b/packages/dnb-design-system-portal/src/pages/uilib/performance-test.md @@ -6,6 +6,6 @@ draft: false import PerformanceTest from 'Src/uilib/performance-test/PerformanceTest' -# Testing Performance +# Performance Test of Web Components diff --git a/packages/dnb-design-system-portal/src/uilib/performance-test/PerformanceTest.js b/packages/dnb-design-system-portal/src/uilib/performance-test/PerformanceTest.js index 5d98b8ba898..7dc8dcad6bb 100644 --- a/packages/dnb-design-system-portal/src/uilib/performance-test/PerformanceTest.js +++ b/packages/dnb-design-system-portal/src/uilib/performance-test/PerformanceTest.js @@ -16,6 +16,7 @@ import { Switch, FormLabel } from 'dnb-ui-lib/src/components' +import { H2, P, Hr } from 'dnb-ui-lib/src/elements' // Content import text from 'raw-loader!./lipsum.txt' @@ -79,51 +80,54 @@ export default class PerformanceTest extends Component { this.components.push() } return ( -
-

Performance Test of Web Components

-
- {' '} - -
-
-
- {' '} - -
-
-
- {' '} - -
-
+ <> +
+

Change testing conditions

+ +
+ {' '} + +
+ +
+ {' '} + +
+ +
+ {' '} + +
-
- {' '} - +
+ {' '} + +

-

Rendered Components

+

Rendered Components

+
{this.components} -

{text}

-
+

{text}

+ ) } } diff --git a/packages/dnb-ui-lib/src/style/core/helper-classes.scss b/packages/dnb-ui-lib/src/style/core/helper-classes.scss index 4971598c370..cd343f2c842 100644 --- a/packages/dnb-ui-lib/src/style/core/helper-classes.scss +++ b/packages/dnb-ui-lib/src/style/core/helper-classes.scss @@ -138,3 +138,8 @@ } } } +.dnb-form-row { + display: flex; + + margin-bottom: 1.5rem; +}