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-2261: Override unformatted pattern for correct layout margins. #315

Open
wants to merge 1 commit into
base: 1.x
Choose a base branch
from

Conversation

tibi2303
Copy link
Contributor

Jira issue(s):

@tibi2303 tibi2303 linked an issue Mar 15, 2023 that may be closed by this pull request
Copy link
Contributor

@drishu drishu left a comment

Choose a reason for hiding this comment

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

I don't think its mandatory but I agree with the principle that the list can define the margins.
That being said we have to be sure its backwards compatible, and there could be other types of views (other than unformatted) where this variant has been used. Also this template might already been overridden.
This looks rather like a ticket for V2, or maybe (not sure its worth it) we can add a parameter that removes the mb-3.

{#
/**
* @file
* Template for a unformatted rows.
Copy link
Contributor

Choose a reason for hiding this comment

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

The english here is not correct, but I would change it completely to "Theme override to display a view of unformatted rows."

* Template for a unformatted rows.
*/
#}
{% if title %}
Copy link
Contributor

Choose a reason for hiding this comment

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

would the bcl heading template be suited here?

{% for row in rows %}
{%
set row_classes = [
'col',
Copy link
Contributor

Choose a reason for hiding this comment

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

the result of this is not the same as mb-3, I checked, the spacing is not the same

@brummbar
Copy link
Contributor

brummbar commented Apr 5, 2023

I agree with @drishu , we cannot remove the class without changing the behaviour for existing websites.

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.

Card margin bottom
3 participants