-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat(modal): add modal component - FRONT-3858 #2776
Conversation
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.
Some minor things and a question regarding the overall approach in the definition of this component.
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.
Looking good, only small remarks ;)
@use 'sass:map'; | ||
@use '@ecl/theme-dev/theme'; | ||
|
||
.ecl-modal { |
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.
{%- block header %}{{ _header }}{% endblock -%} | ||
</div> | ||
{% endif %} | ||
|
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.
also here i would add a check for the icon_path not being empty to determine whether to pass also the icon or just the button.
For the buttons, I'm not sure that it is a real case. The ecl-print-default css is not supposed to be used when not printing (so with the "normal" ECL css), and if you have the ecl-print css it is displayed correctly (even with the ecl-print-default) |
No description provided.