/* Admin Meta Box Styles */ #side-sortables .postbox { /* background: #0e0e0e;*/ border: 1px solid #ddd; margin-bottom: 15px; border-radius: 4px; } #side-sortables .postbox h2 { font-size: 16px; font-weight: bold; margin-bottom: 10px; } button.button-primary { background-color: #007cba; border-color: #007cba; color: #fff; text-shadow: none; } button.button-primary:hover { background-color: #005a9c; border-color: #005a9c; color: #fff; } .meta-box-sortables input[type=text], .meta-box-sortables textarea, .meta-box-sortables input[type=email], .meta-box-sortables select, .meta-box-sortables input[type=number] { width: 100%; max-width: 100%; } table.rl_admin_meta_table { width: 100%; table-layout: fixed; } /* Campaign Timeline */ .timeline-grid { display: flex; flex-wrap: wrap; max-width: 100%; margin: 10px 0; } .timeline-grid .day { flex: 0 0 14.28%; /* 7 rows = 100% / 7 columns */ box-sizing: border-box; border: 1px solid #ccc; padding: 5px; text-align: center; font-size: 12px; color: #000; } .timeline-grid .day .date { font-weight: bold; margin-bottom: 5px; } .timeline-grid .day .volume { font-size: 14px; } #campaign-timeline-heatmap { width: 100%; /* Ensure it spans the available space */ height: 300px; /* Set a fixed height */ min-height: 300px; /* Ensure a minimum height */ background-color: #f9f9f9; /* Optional: for better visibility during debugging */ }