File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -60,27 +60,34 @@ body main .panel { min-width: 0; }
6060/* -------------------------
6161 Cert list grid (RESPONSIVE)
6262 ------------------------- */
63- /* Grid is the primary scrollable area inside the panel */
63+ /* responsive cert grid — tighter rows on desktop, comfy on mobile */
6464.cert-list {
6565 display : grid;
6666 width : 100% ;
67- /* auto-fit/auto-fill combined with minmax ensures responsive multi-column */
6867 grid-template-columns : repeat (auto-fill, minmax (260px , 1fr ));
69- gap : 12px ;
68+ /* gap: <row> <column> -> row gap smaller on desktop, column gap comfortable */
69+ gap : 10px 14px ;
7070 margin-top : 6px ;
7171
7272 /* allow grid to grow and scroll vertically inside the panel */
7373 flex : 1 1 auto;
74- min-height : 0 ; /* critical for children scrolling inside flex container */
74+ min-height : 0 ;
7575 overflow-y : auto;
7676 overflow-x : hidden;
77- padding-right : 6px ; /* room for scrollbar */
77+ padding-right : 6px ;
7878 box-sizing : border-box;
7979}
8080
81- /* Small tweak for very narrow screens */
81+ /* extra-tight rows for very large screens */
82+ @media (min-width : 1400px ) {
83+ .cert-list {
84+ gap : 8px 16px ; /* slightly tighter vertical spacing, more horizontal breathing room */
85+ }
86+ }
87+
88+ /* keep a comfortable single-column layout on tiny phones */
8289@media (max-width : 360px ) {
83- .cert-list { grid-template-columns : 1fr ; gap : 10px ; }
90+ .cert-list { grid-template-columns : 1fr ; gap : 10px ; }
8491}
8592
8693/* -------------------------
You can’t perform that action at this time.
0 commit comments