Different behaviour in twig file when debug is true [on hold]

something weird is happening with my Drupal site. I have some content and display them in unformatted view-rows. I use the core twig theme views-view-unformatted.html.twig.

views-view-unformatted.html.twig:

{# /**  * @file  * Theme override to display a view of unformatted rows.  *  * Available variables:  * - title: The title of this group of rows. May be empty.  * - rows: A list of the view's row items.  *   - attributes: The row's HTML attributes.  *   - content: The row's content.  * - view: The view object.  * - default_row_class: A flag indicating whether default classes should be  *   used on rows.  *  * @see template_preprocess_views_view_unformatted()  */ #} {% if title %}   <h3>{{ title }}</h3> {% endif %} {% for row in rows %}   {%     set row_classes = [       default_row_class ? 'views-row',     ]   %}   <div{{ row.attributes.addClass(row_classes) }}>     {{ row.content }}   </div> {% endfor %} 

When the twig.config debug is true there is the following normally situation:

Each row is separated each other. with debug true

When the twig.config debug is false there is the following weird situation:

Each row is one inside the other. with debug false