-
Notifications
You must be signed in to change notification settings - Fork 4
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: Add offcanvas pattern to search facets block. #11
Conversation
@@ -0,0 +1,26 @@ | |||
{# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this, we dont declare twice
@@ -0,0 +1,50 @@ | |||
offcanvas: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
|
||
{% block content %} | ||
{{ pattern('offcanvas', { | ||
'title': label, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add extra classes and such, see comment in oe_bootstrap PR
'placement': 'start', | ||
'with_body_scroll': false, | ||
'with_backdrop': true, | ||
'extra_classes_body': 'bcl-offcanvas', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add pl-g-0
}, | ||
'attributes': attributes.addClass('bcl-offcanvas'), | ||
'offcanvas_id': 'bcl-offcanvas', | ||
'body': content, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if we can override content.form.actions.reset and use the link (or button?) pattern, if not we need to preprocess the block, worst case we form alter and theme the reset from there
No description provided.