| @@ -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; |