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-2266: Added image on mobile and fixed spacing in card search. #322

Merged
merged 17 commits into from
Jul 11, 2023

Conversation

tibi2303
Copy link
Contributor

Jira issue(s):

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.

these 2 points I need to discuss

* Implements hook_preprocess_HOOK() for gallery pattern.
*/
function oe_bootstrap_theme_preprocess_pattern_card(array &$variables): void {
$variables['oebt_bc_card_search_image_not_visible_on_mobile'] = theme_get_setting('oebt_bc.card_search_image_not_visible_on_mobile') ?? TRUE;
Copy link
Contributor

Choose a reason for hiding this comment

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

What about?

Suggested change
$variables['oebt_bc_card_search_image_not_visible_on_mobile'] = theme_get_setting('oebt_bc.card_search_image_not_visible_on_mobile') ?? TRUE;
$variables['oebt_bc_card_search_image_hidden_on_mobile'] = theme_get_setting('oebt_bc.card_search_image_hidden_on_mobile') ?? TRUE;

@@ -12,3 +12,13 @@ oe_bootstrap_theme.settings:
responsive:
type: string
label: 'Responsive tables'
backward_compatibility:
type: mapping
label: 'OEL Improvements'
Copy link
Contributor

Choose a reason for hiding this comment

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

Not important but I forgot to update this label

@brummbar brummbar merged commit 5b63e86 into 1.x Jul 11, 2023
1 check passed
@brummbar brummbar deleted the OEL-2266 branch July 11, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants