PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.2.25
MxChat – AI Chatbot & Content Generation for WordPress v3.2.25
3.2.25 3.2.24 3.2.23 3.2.22 3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 All 156 releases
← All changes | css/chat-style.css +72 -22 3.2.15 → 3.2.25 View file →
@@ -69,21 +69,41 @@
69 69 .email-blocker {
70 70 display: flex;
71 71 flex-direction: column;
72 72 align-items: center;
73 - justify-content: center;
73 + /* No justify-content: center here — on an overflowing flex container it
74 + pushes content past BOTH edges, making the top unreachable by scroll.
75 + The auto margins on the first/last children below center the content
76 + when there is room and collapse to flex-start when there is not. */
74 77 border-radius: 12px;
75 78 padding: 30px 20px;
76 79 max-width: 100%;
80 + max-height: 100%;
81 + overflow-y: auto;
82 + scrollbar-width: thin;
77 83 margin: auto;
78 84 text-align: center;
79 85 animation: fadeIn 0.5s ease-in-out;
80 86 }
81 87
88 +.email-blocker::-webkit-scrollbar {
89 + width: 5px;
90 +}
91 +
92 +.email-blocker::-webkit-scrollbar-thumb {
93 + background-color: #212121;
94 + border-radius: 20px;
95 +}
96 +
82 97 .email-blocker-header {
98 + margin-top: auto;
83 99 margin-bottom: 20px;
84 100 }
85 101
102 +.email-blocker .email-collection-form {
103 + margin-bottom: auto;
104 +}
105 +
86 106 .email-blocker-logo {
87 107 max-width: 80px;
88 108 margin-bottom: 10px;
89 109 }
@@ -120,8 +140,40 @@
120 140 box-shadow: 0 0 8px rgba(0, 115, 170, 0.3);
121 141 outline: none;
122 142 }
123 143
144 +/* Consent checkbox row (b062c4). Left-aligned inside the centered form so a
145 + multi-line label reads naturally; sized to stay compact on 320-390px. */
146 +.email-blocker .mxchat-consent-row {
147 + display: flex;
148 + align-items: flex-start;
149 + gap: 8px;
150 + width: 100%;
151 + margin-bottom: 15px;
152 + text-align: left;
153 +}
154 +
155 +.email-blocker .mxchat-consent-checkbox {
156 + flex-shrink: 0;
157 + width: 16px;
158 + height: 16px;
159 + margin: 2px 0 0;
160 + accent-color: #0073aa;
161 + cursor: pointer;
162 +}
163 +
164 +.email-blocker .mxchat-consent-label {
165 + font-size: 13px;
166 + line-height: 1.45;
167 + color: #555555;
168 + cursor: pointer;
169 +}
170 +
171 +.email-blocker .mxchat-consent-label a {
172 + color: #0073aa;
173 + text-decoration: underline;
174 +}
175 +
124 176 .email-blocker button {
125 177 background-color: #0073aa;
126 178 color: #ffffff;
127 179 padding: 12px 20px;
@@ -596,9 +648,8 @@
596 648 .mxchat-popular-questions.collapsed .questions-collapse-btn {
597 649 display: none;
598 650 }
599 651
600 -/* MISSING - These need to be inside the container context: */
601 652 .mxchat-popular-questions .mxchat-popular-questions-container .questions-toggle-btn {
602 653 background: none;
603 654 border: none;
604 655 padding: 0;
@@ -631,8 +682,9 @@
631 682 box-shadow: none;
632 683 outline: none;
633 684 align-self: center; /* Center in flex container */
634 685 order: -1; /* Make sure it appears first */
686 + flex-shrink: 0; /* same flex auto-minimum caveat as .mxchat-popular-question */
635 687 }
636 688
637 689 .questions-toggle-btn:hover,
638 690 .questions-collapse-btn:hover,
@@ -682,8 +734,13 @@
682 734 text-align: initial;
683 735 transition: all 0.3s ease;
684 736 margin-bottom: 0;
685 737 box-shadow: none;
738 + /* The defensive baseline's min-height:0 on :where(button) removes the
739 + flex automatic minimum size, so without this the column-flex scroll
740 + container compresses all questions to fit 200px and the scrollbox
741 + never appears (plan d51560). */
742 + flex-shrink: 0;
686 743 }
687 744
688 745 .mxchat-popular-question:hover {
689 746 background-color: #eaeaea;
@@ -726,9 +783,13 @@
726 783
727 784 /* ========================================
728 785 CORE CHATBOT UI
729 786 ======================================== */
730 -.invisible {
787 +/* This stylesheet loads on every page where the widget shows, so generic class names must
788 + stay inside MxChat's own containers: a bare .invisible hit the site's own elements (and
789 + Bootstrap / Tailwind give that class the opposite meaning, visibility hidden with the layout
790 + kept). :where() keeps the specificity of the bare class. */
791 +:where(.floating-chatbot, .mxchat-chatbot-wrapper) .invisible {
731 792 display: none;
732 793 opacity: 0;
733 794 pointer-events: none;
734 795 }
@@ -1147,9 +1208,12 @@
1147 1208
1148 1209 .chatbot-top-bar button.exit-chat:hover {
1149 1210 background: rgba(255, 255, 255, 0.12);
1150 1211 }
1151 -.visible {
1212 +/* The floating window is the only element MxChat toggles .visible on (core, the Trigger
1213 + and Multi-Bot add-ons and MxChat Anywhere all use .floating-chatbot). Unscoped, this turned
1214 + any site element with class "visible" into a flex container. */
1215 +:where(.floating-chatbot).visible {
1152 1216 display: flex;
1153 1217 }
1154 1218
1155 1219 .floating-chatbot-button {
@@ -1546,9 +1610,12 @@
1546 1610 }
1547 1611
1548 1612
1549 1613
1550 -pre {
1614 +/* Code blocks inside the chat only (a bare pre turned every code sample on the site black with
1615 + white text). :where() keeps the specificity of the bare element selector, so .mxchat-code-block
1616 + still wins where it sets a property and the look inside the chat is unchanged. */
1617 +:where(.mxchat-chatbot-wrapper) pre {
1551 1618 background-color: #000;
1552 1619 border: 1px solid #ddd;
1553 1620 border-radius: 20px;
1554 1621 border-left: 3px solid #9e7aff;
@@ -1562,25 +1629,8 @@
1562 1629 overflow: auto;
1563 1630 padding: 1em 1.5em;
1564 1631 display: block;
1565 1632 word-wrap: break-word;
1566 -}
1567 -
1568 -.copy-btn {
1569 - padding: 10px 20px;
1570 - border: none;
1571 - border-radius: 4px;
1572 - background-color: #9e7aff;
1573 - transition: background-color 0.3s;
1574 - color: #fff;
1575 - font-size: 1rem;
1576 - cursor: pointer;
1577 - font-weight: 700;
1578 - margin-bottom: 10px;
1579 -}
1580 -
1581 -.copy-btn:hover {
1582 - opacity: 0.8;
1583 1633 }
1584 1634
1585 1635 .mxchat-product-card {
1586 1636 display: flex;