|
4 | 4 | ========================================= */ |
5 | 5 |
|
6 | 6 | /* ------------------------- |
7 | | - Panel layout tweak |
8 | | - (allow inner scrolling sections) |
| 7 | + Panel fixes (CRITICAL) |
9 | 8 | ------------------------- */ |
10 | 9 |
|
11 | 10 | .panel { |
12 | | - overflow: hidden; /* prevent horizontal scroll */ |
| 11 | + overflow: hidden; |
13 | 12 | display: flex; |
14 | 13 | flex-direction: column; |
| 14 | + align-items: stretch; /* FORCE full width */ |
15 | 15 | } |
16 | 16 |
|
17 | 17 | /* ------------------------- |
18 | 18 | Recommended box |
19 | 19 | ------------------------- */ |
20 | 20 |
|
21 | 21 | .recommended-box { |
| 22 | + width: 100%; |
22 | 23 | margin-bottom: 14px; |
23 | 24 | padding: 14px 16px; |
24 | 25 | border-radius: 12px; |
|
38 | 39 | ------------------------- */ |
39 | 40 |
|
40 | 41 | .cert-list { |
41 | | - flex: 1; /* fill remaining panel space */ |
42 | | - overflow-y: auto; /* vertical scroll ONLY */ |
| 42 | + width: 100%; /* KEY FIX */ |
| 43 | + min-width: 0; /* flex/grid overflow fix */ |
| 44 | + flex: 1; |
| 45 | + |
| 46 | + overflow-y: auto; |
43 | 47 | overflow-x: hidden; |
44 | 48 |
|
45 | 49 | display: grid; |
| 50 | + grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); |
46 | 51 | gap: 16px; |
47 | | - padding-right: 6px; /* room for scrollbar */ |
48 | | -} |
49 | 52 |
|
50 | | -/* Responsive grid: multiple certs across */ |
51 | | -@media (min-width: 600px) { |
52 | | - .cert-list { |
53 | | - grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); |
54 | | - } |
| 53 | + padding-right: 6px; |
55 | 54 | } |
56 | 55 |
|
57 | | -@media (max-width: 599px) { |
58 | | - .cert-list { |
59 | | - grid-template-columns: 1fr; |
60 | | - } |
| 56 | +/* Ensure cards don't shrink grid */ |
| 57 | +.cert-card { |
| 58 | + min-width: 0; |
61 | 59 | } |
62 | 60 |
|
63 | 61 | /* ------------------------- |
|
79 | 77 | } |
80 | 78 |
|
81 | 79 | /* ------------------------- |
82 | | - Updates dropdown (collapsible) |
| 80 | + Updates dropdown (DROP-UP) |
83 | 81 | ------------------------- */ |
84 | 82 |
|
85 | 83 | .updates-box { |
| 84 | + width: 100%; /* KEY FIX */ |
86 | 85 | position: sticky; |
87 | 86 | bottom: 16px; |
88 | 87 | margin-top: 16px; |
|
97 | 96 | flex-shrink: 0; |
98 | 97 | } |
99 | 98 |
|
| 99 | +/* Header row */ |
100 | 100 | .updates-header { |
| 101 | + width: 100%; |
101 | 102 | display: flex; |
102 | 103 | align-items: center; |
103 | 104 | justify-content: space-between; |
|
109 | 110 | font-size: 15px; |
110 | 111 | } |
111 | 112 |
|
| 113 | +/* Caret */ |
112 | 114 | .updates-toggle { |
113 | 115 | border: none; |
114 | 116 | background: transparent; |
|
117 | 119 | transition: transform 0.18s ease; |
118 | 120 | } |
119 | 121 |
|
120 | | -/* START CLOSED */ |
| 122 | +/* ------------------------- |
| 123 | + Updates content (START CLOSED) |
| 124 | + ------------------------- */ |
| 125 | + |
121 | 126 | .updates-inner { |
| 127 | + width: 100%; /* KEY FIX */ |
| 128 | + min-width: 0; |
| 129 | + |
122 | 130 | position: absolute; |
123 | 131 | bottom: 100%; |
124 | 132 | left: 0; |
125 | | - width: 100%; |
126 | 133 |
|
127 | 134 | max-height: 0; |
128 | 135 | overflow: hidden; |
|
0 commit comments