diff --git a/views/pages/components/usage/iframe/iframe.blade.php b/views/pages/components/usage/iframe/iframe.blade.php index 8d39b3ca0..572140438 100644 --- a/views/pages/components/usage/iframe/iframe.blade.php +++ b/views/pages/components/usage/iframe/iframe.blade.php @@ -1,7 +1,7 @@ @iframe([ - 'src' => 'https://www.helsingborg.se', - 'title' => 'Startsidan på helsingborg.se', - 'width' => 800, + 'src' => 'https://helsingborg-stad.github.io/ett-battre-helsingborg-web/', + 'title' => 'Ett bättre Helsingborg Application', + 'width' => '100%', 'height' => 600, 'labels' => [ 'knownLabels' => [ @@ -17,3 +17,27 @@ ], ]) @endiframe + +@typography([ + 'variant' => "h3", + 'element' => "h3", + 'u-margin__bottom' => 0 +]) + Automatic height detection +@endtypography + +@code(['language' => 'js', 'content' => "You may enable the iframe component to automatically adapt the height to the iframe content by embedding the following script into the framed content."]) + +@endcode \ No newline at end of file