-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-1526: change edit fields width to full column; Page Builder updates #170
Conversation
tischsoic
commented
Jan 11, 2022
Question | Answer |
---|---|
Tickets | https://issues.ibexa.co/browse/IBX-1526 |
Bug fix? | yes/no |
New feature? | no |
BC breaks? | no |
Tests pass? | yes |
Doc needed? | no |
License | GPL-2.0 |
@@ -62,7 +62,7 @@ | |||
</div> | |||
{% else %} | |||
<div class="row"> | |||
<div class="offset-1 col-6 p-0"> | |||
{% if not is_full_width|default(false) %}<div class="offset-1 col-6 p-0">{% 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.
Are you sure we want to complemtely remove this div? Instead of adding class col-12
or sth like this?
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.
Yeah, on the second thought I think it may be better to only change CSS classes.
@@ -62,7 +62,9 @@ | |||
</div> | |||
{% else %} | |||
<div class="row"> | |||
<div class="offset-1 col-6 p-0"> | |||
<div class=" | |||
{{ is_full_width|default(false) ? 'col-12' : 'col-6 offset-1 p-0' }}" |
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.
discussed in private
@@ -62,7 +62,7 @@ | |||
</div> | |||
{% else %} | |||
<div class="row"> | |||
<div class="offset-1 col-6 p-0"> | |||
<div class="{{ is_full_width|default(false) ? 'col-12' : 'col-6 offset-1 p-0' }}"> |
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.
I know it's not yours but could we not use the class p-0
and the like because later there are more problems than good