Skip to content

Commit e8072d2

Browse files
Add custom stylesheets and js files to iframes
1 parent 2393fc9 commit e8072d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LIN3S/PatternLibraryBuilder/Resources/templates/pages/iframe.html.twig

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta name="viewport" content="width={%- block viewport_meta_device_width -%}{%- endblock -%}, height={%- block viewport_meta_device_height -%}{%- endblock -%}, initial-scale=1, maximum-scale=1, user-scalable=no">
55
<link rel="stylesheet" href="{{ assets_path ~ '/patternlibrary.css' }}"/>
6+
{% include '@Lin3sPatternLibraryBuilder/partials/stylesheets.html.twig' %}
67
</head>
78
<style type="text/css">
89
html {
@@ -29,5 +30,6 @@
2930
{{ include(item.template, current_parameters) }}
3031
<div class="js-bengor-cookies"></div> {# Prevent bengor-cookies console errors #}
3132
<script src="{{ assets_path ~ '/patternlibrary.js' }}"></script>
33+
{% include '@Lin3sPatternLibraryBuilder/partials/javascripts.html.twig' %}
3234
</body>
3335
</html>

0 commit comments

Comments
 (0)