Skip to content

Commit 6a1cea4

Browse files
committed
feat(youtube): fix youtube align
1 parent 0ce480d commit 6a1cea4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Resources/views/admin/ui_element/youtube.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{% endif %}
2525
{% if url is not null %}
2626
<div
27-
class="my-5 text-{{ align }} ui-element-youtube"
27+
class="my-5 ui-element-youtube" style="text-align: {{ align }};"
2828
>
2929
<div class="{% if elementWidth is null and elementHeight is null %}ratio ratio-16x9{% endif %}">
3030
<iframe

src/Resources/views/shop/ui_element/youtube.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{% endif %}
2525
{% if url is not null %}
2626
<div
27-
class="my-5 text-{{ align }} ui-element-youtube"
27+
class="my-5 ui-element-youtube" style="text-align: {{ align }};"
2828
>
2929
<div class="{% if elementWidth is null and elementHeight is null %}ratio ratio-16x9{% endif %}">
3030
<iframe

0 commit comments

Comments
 (0)