Skip to content
Snippets Groups Projects
Commit 95e336a9 authored by Nasreddin Boulif (bon)'s avatar Nasreddin Boulif (bon)
Browse files

[FIX] website_event: Display cover even if text too long

Steps to reproduce:

  - Install `website_event` module
  - Go to Events and edit `Design Fair Los Angeles` event
  - Edit the title and make it very long then save
  - Go to the Website then click on Events in the menu
  - Click on Customize and disable `Layout - Columns` to have
    a list view.

Issue:

  The cover is hidden on edited event.

Cause:

  It's a know issue:
  https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size



Solution:

  Set min-width: 0 to the div arround the title if screen size bigger
  then `sm`.

opw-2882533

closes odoo/odoo#95992

Signed-off-by: default avatarNasreddin Boulif (bon) <bon@odoo.com>
parent e8e04d00
Branches
Tags
No related merge requests found
......@@ -92,6 +92,11 @@ $o-wevent-event-title-sizes-variants: (
}
}
}
@include media-breakpoint-up(sm) {
#o_wevent_index_main_col article div.col {
min-width: 0;
}
}
&.opt_event_list_cards_bg {
@if (color('body') == $o-portal-default-body-bg) {
@extend .bg-200;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment