|
36 | 36 | /* Ensure proper height */
|
37 | 37 | height: auto;
|
38 | 38 | min-height: 0;
|
| 39 | + /* Ensure horizontal scroll works properly */ |
| 40 | + white-space: nowrap; |
39 | 41 | }
|
40 | 42 |
|
41 | 43 | /* Custom scrollbar styling */
|
|
86 | 88 | border-radius: 12px;
|
87 | 89 | overflow: hidden;
|
88 | 90 | table-layout: fixed;
|
89 |
| - min-width: 900px; /* Ensure minimum width to prevent content trimming */ |
| 91 | + min-width: 1200px; /* Increased minimum width to ensure all content fits properly */ |
90 | 92 | margin: 0; /* Remove any margin */
|
91 | 93 | padding: 0; /* Remove any padding */
|
92 | 94 | }
|
|
97 | 99 | white-space: nowrap;
|
98 | 100 | overflow: hidden;
|
99 | 101 | text-overflow: ellipsis;
|
| 102 | + /* Prevent content from being truncated */ |
| 103 | + min-width: 0; |
100 | 104 | }
|
101 | 105 |
|
102 | 106 | /* Column width distribution - spread across full width with end spacing for actions */
|
|
206 | 210 | white-space: nowrap;
|
207 | 211 | overflow: hidden;
|
208 | 212 | text-overflow: ellipsis;
|
209 |
| - min-width: 100px; /* Minimum width to prevent content trimming */ |
| 213 | + min-width: 120px; /* Increased minimum width to prevent content trimming */ |
210 | 214 | }
|
211 | 215 |
|
212 | 216 | .main-table-container tr:last-child td {
|
|
347 | 351 | /* Ensure table scrolls horizontally on mobile */
|
348 | 352 | .table-responsive-container {
|
349 | 353 | overflow-x: auto;
|
350 |
| - min-width: 900px; /* Match table minimum width */ |
| 354 | + min-width: 1200px; /* Match table minimum width */ |
351 | 355 | }
|
352 | 356 |
|
353 | 357 | /* Ensure table headers and cells don't break */
|
|
359 | 363 | min-width: 120px; /* Minimum width for mobile */
|
360 | 364 | }
|
361 | 365 |
|
362 |
| - /* Adjust column widths for mobile */ |
| 366 | + /* Adjust column widths for mobile - maintain exact same proportions */ |
363 | 367 | .main-table-container th:nth-child(1),
|
364 | 368 | .main-table-container td:nth-child(1) {
|
365 |
| - min-width: 150px; /* Resource Type */ |
| 369 | + min-width: 264px; /* Resource Type - 22% of 1200px */ |
366 | 370 | }
|
367 | 371 |
|
368 | 372 | .main-table-container th:nth-child(2),
|
369 | 373 | .main-table-container td:nth-child(2) {
|
370 |
| - min-width: 120px; /* Name */ |
| 374 | + min-width: 216px; /* Name - 18% of 1200px */ |
371 | 375 | }
|
372 | 376 |
|
373 | 377 | .main-table-container th:nth-child(3),
|
374 | 378 | .main-table-container td:nth-child(3) {
|
375 |
| - min-width: 140px; /* Date & Time */ |
| 379 | + min-width: 216px; /* Date & Time - 18% of 1200px */ |
376 | 380 | }
|
377 | 381 |
|
378 | 382 | .main-table-container th:nth-child(4),
|
379 | 383 | .main-table-container td:nth-child(4) {
|
380 |
| - min-width: 100px; /* Status */ |
| 384 | + min-width: 144px; /* Status - 12% of 1200px */ |
381 | 385 | }
|
382 | 386 |
|
383 | 387 | .main-table-container th:nth-child(5),
|
384 | 388 | .main-table-container td:nth-child(5) {
|
385 |
| - min-width: 120px; /* Orchestration */ |
| 389 | + min-width: 144px; /* Orchestration - 12% of 1200px */ |
386 | 390 | }
|
387 | 391 |
|
388 | 392 | .main-table-container th:nth-child(6),
|
389 | 393 | .main-table-container td:nth-child(6) {
|
390 |
| - min-width: 100px; /* Actions */ |
| 394 | + min-width: 96px; /* Actions - 8% of 1200px */ |
391 | 395 | }
|
392 | 396 | }
|
393 | 397 |
|
|
482 | 486 |
|
483 | 487 | .table-responsive-container {
|
484 | 488 | overflow-x: auto;
|
| 489 | + min-width: 1200px; /* Match table minimum width */ |
485 | 490 | }
|
486 | 491 |
|
487 | 492 | .main-table-container th,
|
|
0 commit comments