Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OEL-461: Additional class for toggling button visibility. #68

Merged
merged 2 commits into from
Sep 15, 2021
Merged

Conversation

GilNovacomm
Copy link
Contributor

This is tied to https://citnet.tech.ec.europa.eu/CITnet/jira/browse/OEL-461
The missing class on the toggle button makes it disappear when in desktop mode and visible when in mobile.

@@ -16,7 +20,7 @@
'extra_classes_close': extra_classes_close,
} %}
{% if with_trigger %}
<button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#{{ offcanvas_id }}" aria-controls="{{ offcanvas_id }}">
<button class="btn btn-primary d-lg-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#{{ offcanvas_id }}" aria-controls="{{ offcanvas_id }}">
Toggle offcanvas
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the pattern, add a field for the button label, default to "Toggle offcanvas"

@@ -5,7 +5,11 @@
*/
#}
{% include '@oe-bcl/bcl-offcanvas/offcanvas.html.twig' with {
'title': title,
'title': {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this revert, move the extra stuff to templates/overrides/search/block--facets-form.html.twig in whitelabel

Copy link
Contributor

@abel-santos-corral abel-santos-corral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@drishu drishu merged commit 2c58d81 into 1.x Sep 15, 2021
@drishu drishu deleted the OEL-461 branch September 15, 2021 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants