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-1919: Fix broken styling for facetapi. #176

Merged
merged 18 commits into from
Aug 22, 2022
Merged

OEL-1919: Fix broken styling for facetapi. #176

merged 18 commits into from
Aug 22, 2022

Conversation

drishu
Copy link
Contributor

@drishu drishu commented Aug 10, 2022

No description provided.

{%- if items -%}
<{{ list_type }}{{ attributes }}>
{%- for item in items -%}
<li{{ item.attributes.addClass('mb-2') }}>{{ item.value }}</li>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I lowered the margin here from mb-3 like in netlify to mb-2, also created a ticket to follow up

@@ -0,0 +1,10 @@
<div{{ attributes }}>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not related to this template but was thinking of moving all templates from under /overrides into /templates

Copy link
Contributor

@brummbar brummbar left a comment

Choose a reason for hiding this comment

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

image
I see there is some spacing issue still. Ignore the date range, we don't support it yet (not in this ticket anyway)

@@ -0,0 +1,4 @@
.oel-facets-checkbox-list {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can determine this by using the parent? .facets-widget-checkbox or due to line 9 in the twig, directly .item-list__checkbox.

resources/sass/default.style.scss Show resolved Hide resolved
templates/facets/facets-item-list.html.twig Show resolved Hide resolved
@brummbar brummbar merged commit fb0f310 into 1.x Aug 22, 2022
@brummbar brummbar deleted the OEL-1919 branch August 22, 2022 15:49
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.

2 participants