PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.1.4
MxChat – AI Chatbot & Content Generation for WordPress v3.1.4
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 2.0.3 2.0.4 2.0.5 2.0.6 All 152 releases
← All changes | css/knowledge-style.css +20 -226 3.2.173.1.4 View file →
@@ -266,14 +266,8 @@
266 266 border: 1px solid #e5e5e5;
267 267 text-align: center;
268 268 }
269 269
270 -/* YouTube import: multi-line radio/description stack reads left-aligned,
271 - unlike the single-row URL forms the centered default was made for. */
272 -#mxchat-youtube-input-area {
273 - text-align: left;
274 -}
275 -
276 270 /* PDF Upload Area */
277 271 #mxchat-pdf-upload-area input[type="file"] {
278 272 margin-bottom: 12px;
279 273 }
@@ -1280,36 +1274,20 @@
1280 1274
1281 1275 .mxchat-kb-modal-content {
1282 1276 position: relative;
1283 1277 background-color: #fff;
1284 - margin: 24px auto;
1278 + margin: 50px auto;
1285 1279 padding: 0;
1286 1280 border-radius: 8px;
1287 1281 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
1288 1282 width: 90%;
1289 1283 max-width: 1000px;
1290 - /* The box is the ONLY place height is constrained; children flex within it.
1291 - dvh tracks the real visible viewport on mobile (vh line = older-browser fallback). */
1292 1284 max-height: 85vh;
1293 - max-height: min(85vh, calc(100dvh - 48px));
1294 1285 display: flex;
1295 1286 flex-direction: column;
1296 1287 animation: mxchat-kb-modal-appear 0.3s ease-out;
1297 1288 }
1298 1289
1299 -/* Fixed chrome rows never grow or shrink — the results list is the only scroller. */
1300 -.mxchat-kb-modal-header,
1301 -.mxchat-kb-modal-filters,
1302 -.mxchat-kb-selection-header,
1303 -.mxchat-kb-modal-footer {
1304 - flex: 0 0 auto;
1305 -}
1306 -
1307 -/* The footer holds the primary actions — it can never be squeezed out of the box. */
1308 -.mxchat-kb-modal-footer {
1309 - flex-shrink: 0;
1310 -}
1311 -
1312 1290 @keyframes mxchat-kb-modal-appear {
1313 1291 from {
1314 1292 opacity: 0;
1315 1293 transform: translateY(-30px);
@@ -1423,15 +1401,12 @@
1423 1401 border-left: 3px solid #1e88e5;
1424 1402 }
1425 1403
1426 1404 .mxchat-kb-content-selection {
1427 - /* Flexible middle region: header row stays put, the list below scrolls.
1428 - min-height: 0 is load-bearing — without it flex refuses to shrink this
1429 - column and the footer gets pushed out of the box (the mobile bug). */
1430 - flex: 1 1 auto;
1431 - min-height: 0;
1432 - display: flex;
1433 - flex-direction: column;
1405 + overflow-y: auto;
1406 + flex: 1;
1407 + min-height: 300px;
1408 + max-height: calc(85vh - 200px);
1434 1409 }
1435 1410
1436 1411 .mxchat-kb-selection-header {
1437 1412 display: flex;
@@ -1459,12 +1434,8 @@
1459 1434 }
1460 1435
1461 1436 .mxchat-kb-content-list {
1462 1437 padding: 0;
1463 - /* The one and only scroller inside the modal. */
1464 - flex: 1 1 auto;
1465 - min-height: 0;
1466 - overflow-y: auto;
1467 1438 }
1468 1439
1469 1440 .mxchat-kb-content-item {
1470 1441 display: flex;
@@ -1877,70 +1848,38 @@
1877 1848
1878 1849 /* Modal responsive adjustments */
1879 1850 .mxchat-kb-modal-content {
1880 1851 width: 95%;
1881 - /* dvh = real visible viewport (mobile vh includes the URL-bar region);
1882 - vh line is the older-browser fallback. */
1883 - max-height: calc(100vh - 24px);
1884 - max-height: calc(100dvh - 24px);
1885 - margin: 12px auto;
1886 - /* Last-resort scroll: on extreme-short viewports (landscape phones)
1887 - the compacted chrome + the list's floor can still exceed the box —
1888 - scroll inside the box rather than clipping the footer. */
1889 - overflow-y: auto;
1852 + max-height: 90vh;
1853 + margin: 20px auto;
1890 1854 }
1891 -
1892 - /* Compact the fixed chrome on mobile — stacked filters + a stacked footer
1893 - are tall, and every saved pixel goes to the content list. */
1894 - .mxchat-kb-modal-header {
1895 - padding: 12px 16px;
1896 - }
1897 -
1898 - .mxchat-kb-modal-header h3 {
1899 - font-size: 16px;
1900 - }
1901 -
1855 +
1902 1856 .mxchat-kb-modal-filters {
1903 1857 flex-direction: column;
1904 1858 align-items: stretch;
1905 - padding: 10px 16px;
1906 - gap: 8px;
1907 1859 }
1908 -
1860 +
1909 1861 .mxchat-kb-search-group {
1910 1862 max-width: none;
1911 1863 }
1912 -
1864 +
1913 1865 .mxchat-kb-filter-group {
1914 1866 flex-direction: column;
1915 - gap: 8px;
1916 1867 }
1917 -
1918 - .mxchat-kb-filter-group select {
1919 - padding: 6px 30px 6px 10px;
1868 +
1869 + .mxchat-kb-content-selection {
1870 + max-height: calc(90vh - 250px);
1920 1871 }
1921 -
1872 +
1922 1873 .mxchat-kb-selection-header {
1923 1874 flex-direction: column;
1924 1875 align-items: flex-start;
1925 - gap: 6px;
1926 - padding: 10px 16px;
1876 + gap: 10px;
1927 1877 }
1928 -
1929 - /* Guarantee a usable slice of visible rows — reachable buttons are no
1930 - help if there is nothing to select above them. */
1931 - .mxchat-kb-content-list {
1932 - min-height: 96px;
1933 - }
1934 -
1935 - .mxchat-kb-content-item {
1936 - padding: 10px 16px;
1937 - }
1938 -
1878 +
1939 1879 .mxchat-kb-modal-footer {
1940 1880 flex-direction: column;
1941 - gap: 8px;
1942 - padding: 10px 16px;
1881 + gap: 10px;
1943 1882 }
1944 1883
1945 1884 .mxchat-kb-modal-footer .mxchat-kb-pagination {
1946 1885 width: 100%;
@@ -3810,18 +3749,13 @@
3810 3749 }
3811 3750
3812 3751 .mxchat-kb-edit-modal-content {
3813 3752 max-width: 760px;
3814 - /* Same viewport-safe cap as the content-selector modal (vh = fallback). */
3815 3753 max-height: 90vh;
3816 - max-height: min(90vh, calc(100dvh - 24px));
3817 3754 }
3818 3755
3819 3756 .mxchat-kb-edit-body {
3820 - flex: 1 1 auto;
3821 - /* min-height: 0 lets the body shrink inside the capped modal box so the
3822 - footer (Save/Cancel) can never be pushed below the viewport. */
3823 - min-height: 0;
3757 + flex: 1;
3824 3758 display: flex;
3825 3759 flex-direction: column;
3826 3760 padding: 20px;
3827 3761 overflow: hidden;
@@ -3874,10 +3808,8 @@
3874 3808 justify-content: space-between;
3875 3809 padding: 14px 20px;
3876 3810 border-top: 1px solid #e5e5e5;
3877 3811 gap: 12px;
3878 - /* Action row can never be squeezed out of the box. */
3879 - flex-shrink: 0;
3880 3812 }
3881 3813
3882 3814 .mxchat-kb-edit-notice {
3883 3815 flex: 1;
@@ -3891,45 +3823,8 @@
3891 3823 gap: 8px;
3892 3824 flex-shrink: 0;
3893 3825 }
3894 3826
3895 -/* ── Knowledge Inspector modal (plan-d8cb4b) ──────────────────────────
3896 - Read-only "View indexed content" viewer. Reuses the Testing tab's
3897 - match-card / chunk-detail components (admin-testing-tab.css, scoped under
3898 - .mxch-testing-results) so it looks native; this block only adds the modal
3899 - body scroll + the chunk-text container the Testing tab doesn't have. */
3900 -.mxchat-kb-inspect-body {
3901 - flex: 1 1 auto;
3902 - /* Same footer-pushout guard as the edit modal. */
3903 - min-height: 0;
3904 - display: flex;
3905 - flex-direction: column;
3906 - padding: 20px;
3907 - overflow-y: auto;
3908 - gap: 12px;
3909 -}
3910 -/* The modal body is the scroll container — let the inner results grow naturally
3911 - instead of the Testing tab's own 400px inner scroll (avoids a double scrollbar). */
3912 -.mxchat-kb-inspect-body .mxch-testing-results {
3913 - max-height: none;
3914 - overflow: visible;
3915 -}
3916 -.mxch-kb-inspect-chunk-text {
3917 - margin: 8px 0 0;
3918 - padding: 12px 14px;
3919 - background: #f8fafc;
3920 - border: 1px solid #e2e8f0;
3921 - border-radius: 6px;
3922 - max-height: 260px;
3923 - overflow-y: auto;
3924 - white-space: pre-wrap;
3925 - word-break: break-word;
3926 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
3927 - font-size: 13px;
3928 - line-height: 1.6;
3929 - color: var(--mxch-text-primary, #334155);
3930 -}
3931 -
3932 3827 .mxchat-kb-edit-save-spinner {
3933 3828 display: inline-flex;
3934 3829 align-items: center;
3935 3830 gap: 6px;
@@ -3939,10 +3834,9 @@
3939 3834 .mxchat-kb-edit-modal-content {
3940 3835 width: 96%;
3941 3836 max-width: 96%;
3942 3837 margin: 10px auto;
3943 - max-height: calc(100vh - 20px);
3944 - max-height: calc(100dvh - 20px);
3838 + max-height: 95vh;
3945 3839 }
3946 3840 .mxchat-kb-edit-body {
3947 3841 padding: 14px;
3948 3842 }
@@ -3960,105 +3854,5 @@
3960 3854 .mxchat-kb-edit-actions .mxch-btn {
3961 3855 flex: 1;
3962 3856 text-align: center;
3963 3857 }
3964 -}
3965 -/* ==========================================================================
3966 - Custom Meta-key discovery picker (plan-mxchat-20260709-fe8e4e)
3967 - Canon-token chip picker mirroring the ACF discovery UX for non-ACF meta.
3968 - ========================================================================== */
3969 -.mxchat-meta-scan-controls {
3970 - display: flex;
3971 - align-items: center;
3972 - flex-wrap: wrap;
3973 - gap: 12px;
3974 - margin-bottom: 12px;
3975 -}
3976 -#mxchat-scan-meta-btn {
3977 - display: inline-flex;
3978 - align-items: center;
3979 - gap: 8px;
3980 -}
3981 -.mxchat-meta-scan-internal {
3982 - display: inline-flex;
3983 - align-items: center;
3984 - gap: 6px;
3985 - font-size: 13px;
3986 - color: var(--mxch-text-secondary, #64748b);
3987 - cursor: pointer;
3988 -}
3989 -.mxchat-meta-scan-loading,
3990 -.mxchat-meta-scan-empty {
3991 - font-size: 13px;
3992 - color: var(--mxch-text-secondary, #64748b);
3993 - margin: 8px 0 0;
3994 -}
3995 -.mxchat-meta-chip-grid {
3996 - display: grid;
3997 - grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
3998 - gap: 10px;
3999 - margin-top: 12px;
4000 -}
4001 -.mxchat-meta-chip {
4002 - display: flex;
4003 - flex-direction: column;
4004 - align-items: flex-start;
4005 - gap: 4px;
4006 - text-align: left;
4007 - width: 100%;
4008 - padding: 10px 12px;
4009 - background: var(--mxch-card-bg, #fff);
4010 - border: 1px solid var(--mxch-card-border, #e2e8f0);
4011 - border-radius: var(--mxch-radius-md, 8px);
4012 - cursor: pointer;
4013 - transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
4014 -}
4015 -.mxchat-meta-chip:hover {
4016 - border-color: var(--mxch-primary, #7873f5);
4017 - box-shadow: 0 1px 4px rgba(120, 115, 245, 0.15);
4018 -}
4019 -.mxchat-meta-chip-main {
4020 - display: flex;
4021 - align-items: baseline;
4022 - flex-wrap: wrap;
4023 - gap: 8px;
4024 -}
4025 -.mxchat-meta-chip-name {
4026 - font-weight: 600;
4027 - color: var(--mxch-text-primary, #1a1a2e);
4028 - font-size: 13px;
4029 -}
4030 -.mxchat-meta-chip-key {
4031 - font-family: monospace;
4032 - font-size: 11px;
4033 - color: var(--mxch-text-muted, #94a3b8);
4034 - background: #f1f5f9;
4035 - padding: 1px 6px;
4036 - border-radius: 4px;
4037 -}
4038 -.mxchat-meta-chip-meta {
4039 - font-size: 11px;
4040 - color: var(--mxch-text-muted, #94a3b8);
4041 - white-space: nowrap;
4042 - overflow: hidden;
4043 - text-overflow: ellipsis;
4044 - max-width: 100%;
4045 -}
4046 -.mxchat-meta-chip-tick {
4047 - font-size: 11px;
4048 - font-weight: 600;
4049 - color: var(--mxch-primary, #7873f5);
4050 - margin-top: 2px;
4051 -}
4052 -.mxchat-meta-chip.is-added {
4053 - border-color: var(--mxch-success, #10b981);
4054 - background: rgba(16, 185, 129, 0.06);
4055 - cursor: default;
4056 -}
4057 -.mxchat-meta-chip.is-added .mxchat-meta-chip-tick {
4058 - color: var(--mxch-success, #10b981);
4059 -}
4060 -@media (max-width: 782px) {
4061 - .mxchat-meta-chip-grid {
4062 - grid-template-columns: 1fr;
4063 - }
4064 -}
3858 +}