Do not set fixed width for thread selector dropdown box
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Fri, 8 Jan 2021 19:05:03 +0000 (14:05 -0500)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Fri, 8 Jan 2021 19:05:03 +0000 (14:05 -0500)
There were cases that the fixed width for this box would cause the
thread selector to explode outside of the email header table in the
thread viewer. We should keep the select dropdown itself to the width
of the overall list of email addresses in the chain.

django/media/css/main.css

index eff40a7deb98cc1b611ea3af284c47639e32d4f3..f7d6646d2f95110cf2fa1a6bf1ab176289f97f7d 100644 (file)
@@ -700,6 +700,11 @@ input[type=checkbox] {
   margin: 2px;
 }
 
+/* For the thread viewer, keep the width inline with the parent element */
+#thread_select.custom-select {
+  width: auto;
+}
+
 th.formfieldnamecontainer {
     padding-right: 1em;
 }