Bug 1399125 - Fix overlapped labels; r=nchevobbe draft
authorJan Odvarko <odvarko@gmail.com>
Thu, 09 Nov 2017 15:11:54 +0100
changeset 697234 8009ce7926ad2ba7ed1f39576cb255db601aad60
parent 696951 6371e71153c8c3d32d31c8eb92ac296f353dd860
child 740051 7c8a0dc7f57b6bf05be804c6925af954192ea565
push id88927
push userjodvarko@mozilla.com
push dateMon, 13 Nov 2017 16:41:51 +0000
reviewersnchevobbe
bugs1399125
milestone59.0a1
Bug 1399125 - Fix overlapped labels; r=nchevobbe MozReview-Commit-ID: 7TB7Hgpm5cn
devtools/client/themes/webconsole.css
--- a/devtools/client/themes/webconsole.css
+++ b/devtools/client/themes/webconsole.css
@@ -822,19 +822,19 @@ a.learn-more-link.webconsole-learn-more-
   display: flex;
   /* Wrap so the "Hidden messages" bar can go to its own row if needed */
   flex-wrap: wrap;
   --primary-toolbar-height: 29px;
 }
 
 .webconsole-filterbar-primary {
   display: flex;
-  /* We want the toolbar (which contain the text search input) to be at least 200px
-  so we don't allow to shrink it */
-  flex: 100 0 200px;
+  /* We want the toolbar (which contain the text search input) to fit
+  the content, we don't allow to shrink/overlap it */
+  flex: 100 0 -moz-fit-content;
   align-items: center;
   min-height: var(--primary-toolbar-height);
 }
 
 .devtools-toolbar.webconsole-filterbar-secondary {
   display: flex;
   width: 100%;
   align-items: center;
@@ -860,16 +860,17 @@ a.learn-more-link.webconsole-learn-more-
 .webconsole-filterbar-filtered-messages {
   /* Needed so the bar takes the whole horizontal space when it is wrapped */
   flex-grow: 1;
   justify-content: flex-end;
   color: var(--theme-comment);
   text-align: end;
   align-items: center;
   min-height: var(--primary-toolbar-height);
+  line-height: var(--primary-toolbar-height);
 }
 
 .webconsole-filterbar-filtered-messages .filter-message-text {
   font-style: italic;
   -moz-user-select: none;
 }
 
 .webconsole-filterbar-filtered-messages .reset-filters-button {