Assistant CSS should be specific to assistant on chatbot
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3548390. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !904 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>We have introduced a new layout for the assistant <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3531279" title="Status: Closed (fixed)">#3531279: Provide updated UI for AI Chatbot module</a></span>, however some of the CSS is bleeding over to the assistants with the older styles.</p> <p>While this might or not might be wanted, it will cause an issue on production sites, where the current display is what is being used.</p> <p>We might change this completely in 2.x, but for 1.x we need to have the same look and feel via options.</p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <ul> <li>Setup a Chatbot in 1.1.x</li> <li>Upgrade to 1.2.x</li> </ul> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <ul> <li>Fix so that if the older styles are picked, it still looks the same.</li> <li>When picking the Toolbar however, the new styles should apply.</li> </ul> <p>Edit: The issue is actually not styling, its that we got the name working. However, this causes BC, so we should hide it in the current chatbots.</p>
issue