Skip to content

Commit

Permalink
Fixed iframe height.
Browse files Browse the repository at this point in the history
  • Loading branch information
tolerants committed Nov 6, 2024
1 parent 0f9426c commit 35e9c11
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion assets/Zed/js/modules/quicksight-analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ $(document).ready(function () {
const frameOptions = {
url: embedUrl,
container: embedElement,
height: '700px',
width: '100%',
onChange: (changeEvent, metadata) => {
switch (changeEvent.eventName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% endfor %}
{% endif %}
{% if quicksightGenerateEmbedUrlResponse.embedUrl is not null and quicksightGenerateEmbedUrlResponse.embedUrl.url is not null %}
<div id="experience-container" data-embed-url="{{ quicksightGenerateEmbedUrlResponse.embedUrl.url | raw }}"></div>
<div id="experience-container" style="height: calc(100vh - 260px)" data-embed-url="{{ quicksightGenerateEmbedUrlResponse.embedUrl.url | raw }}"></div>

<script src="{{ assetsPath('js/spryker-zed-quicksight-analytics-gui-main.js') }}"></script>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<form action="{{ url('/amazon-quicksight/user/synchronize-quicksight-users') }}" method="POST" class="form-inline">
<input type="hidden" name="{{ tokenFieldName }}" value="{{ csrf_token(formName) }}">
<button type="submit" class="btn safe-submit">{{ 'Synchronize Users' | trans }}</button>
<button type="submit" class="btn safe-submit btn-outline btn-view">{{ 'Synchronize Users' | trans }}</button>
</form>

0 comments on commit 35e9c11

Please sign in to comment.