File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 168168 /* Screenshots */
169169 .screenshots {
170170 display : grid;
171- grid-template-columns : repeat (auto-fit, minmax (200 px , 1fr ));
171+ grid-template-columns : repeat (auto-fit, minmax (240 px , 1fr ));
172172 gap : 20px ;
173173 justify-content : center;
174174 }
175175
176176 .screenshots img {
177177 width : 100% ;
178- height : 200px ;
179- object-fit : cover;
178+ height : auto;
179+ aspect-ratio : 4 / 3 ; /* Maintains 320x240 aspect ratio */
180+ object-fit : contain; /* Ensures no cropping of borders */
180181 border-radius : 10px ;
181182 box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.2 );
182183 transition : transform 0.3s ease, box-shadow 0.3s ease;
308309 font-size : 1.8rem ;
309310 }
310311
311- .screenshots img {
312- height : 150 px ;
312+ .screenshots {
313+ grid-template-columns : repeat (auto-fit , minmax ( 200 px , 1 fr )) ;
313314 }
314315 }
315316
322323 padding : 20px ;
323324 }
324325
325- .screenshots img {
326- height : 120 px ;
326+ .screenshots {
327+ grid-template-columns : 1 fr ;
327328 }
328329 }
329330 </ style >
339340 < li > < a href ="https://t.me/MicroPythonOS " target ="_blank " aria-label ="Join MicroPythonOS Community "> Community</ a > </ li >
340341 < li > < a href ="mailto:info@MicroPythonOS.com " target ="_blank " aria-label ="Contact MicroPythonOS "> Contact</ a > </ li >
341342 </ ul >
342- < div class ="hamburger " onclick ="toggleMenu() "> ☰ </ div >
343+ < div class ="hamburger " onclick ="toggleMenu() "> ☰ </ div >
343344 </ div >
344345 </ nav >
345346
You can’t perform that action at this time.
0 commit comments