Skip to content

Commit

Permalink
IBX-2746: Page builder - double scroll in block settings panel
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Apr 15, 2022
1 parent 1403650 commit 85b56f3
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions src/bundle/Resources/views/themes/admin/ui/layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@
{% endblock %}

{% block content_column %}
<div class="ibexa-main-container__content-column ibexa-back-to-top-scroll-container">
<div
class="ibexa-main-container__content-column
{%- if not is_back_to_top_disabled|default(false) %} ibexa-back-to-top-scroll-container{% endif %}"
>
<div class="container ibexa-back-to-top-anchor">
{% block content_header %}
<div class="ibexa-page-header-wrapper">
Expand Down Expand Up @@ -201,18 +204,20 @@
})|e('html_attr') }}"></div>
<div class="ibexa-modal-wrapper"></div>

{% block back_to_top %}
<div class="ibexa-back-to-top">
<button type="button" class="btn ibexa-btn ibexa-btn--tertiary ibexa-btn--no-text ibexa-back-to-top__btn">
<span class="ibexa-back-to-top__title">
{{ 'back.to.top'|trans|desc('Go to top') }}
</span>
<svg class="ibexa-icon ibexa-icon--medium ibexa-back-to-top__icon">
<use xlink:href="{{ ibexa_icon_path('back') }}"></use>
</svg>
</button>
</div>
{% endblock %}
{% if not is_back_to_top_disabled|default(false) %}
{% block back_to_top %}
<div class="ibexa-back-to-top">
<button type="button" class="btn ibexa-btn ibexa-btn--tertiary ibexa-btn--no-text ibexa-back-to-top__btn">
<span class="ibexa-back-to-top__title">
{{ 'back.to.top'|trans|desc('Go to top') }}
</span>
<svg class="ibexa-icon ibexa-icon--medium ibexa-back-to-top__icon">
<use xlink:href="{{ ibexa_icon_path('back') }}"></use>
</svg>
</button>
</div>
{% endblock %}
{% endif %}

{{ encore_entry_script_tags('ibexa-admin-ui-layout-js', null, 'ibexa') }}
{{ encore_entry_script_tags('ibexa-admin-ui-udw-tabs-js', null, 'ibexa') }}
Expand Down

0 comments on commit 85b56f3

Please sign in to comment.