Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(dashboard): keep the pane icon comment true after truncation

Yudhi Armyndharis85d4a0aeb1a6
diff --git a/dashboard/src/pages/Chats.css b/dashboard/src/pages/Chats.css
index dbc98e17b..d40edac3e 100644
--- a/dashboard/src/pages/Chats.css
+++ b/dashboard/src/pages/Chats.css
@@ -1296,9 +1296,9 @@
color: var(--text-secondary);
}
-/* The pane icon sits between the back button and an unbreakable title. Both of its siblings opt out
- of shrinking already; without the same opt-out the icon is the only flexible item in the row and a
- long title collapses it to nothing. */
+/* The pane icon's only in-flow sibling here is the heading, which has never opted out of shrinking,
+ so without this opt-out the row takes width from the icon as well. The heading absorbs most of the
+ deficit but not all of it, and on the narrowest pane the icon is squeezed to a couple of pixels. */
.chats-page .chats-room-header > svg {
flex-shrink: 0;
}