File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 325325
326326/* NPM Downloads List */
327327.npm-downloads-list-container {
328- margin-bottom : 2rem ;
328+ margin : 0 auto 2rem auto ;
329329 border-radius : 0.5rem ;
330330 border : 1px solid # e2e8f0 ;
331331 background : white;
332332 box-shadow : 0 1px 3px rgba (0 , 0 , 0 , 0.1 );
333+ max-width : 500px ;
334+ width : fit-content;
333335}
334336
335337.npm-downloads-list {
342344 display : flex;
343345 align-items : center;
344346 justify-content : space-between;
345- padding : 0.75 rem 1.25 rem ;
347+ padding : 0.5 rem 1 rem ;
346348 border-bottom : 1px solid # e2e8f0 ;
347349 transition : all 0.2s ease;
348350 cursor : pointer;
349- gap : 1rem ;
351+ gap : 0.75rem ;
352+ min-width : fit-content;
350353}
351354
352355.npm-download-item : hover {
365368
366369.npm-download-item .package-name {
367370 font-family : 'Consolas' , 'Monaco' , 'Courier New' , monospace;
368- font-size : 0.9 rem ;
371+ font-size : 0.875 rem ;
369372 font-weight : 500 ;
370373 color : # 374151 ;
371374 background : # f1f5f9 ;
372- padding : 0.375 rem 0.75 rem ;
373- border-radius : 0.375 rem ;
375+ padding : 0.25 rem 0.5 rem ;
376+ border-radius : 0.25 rem ;
374377 border : 1px solid # cbd5e1 ;
375378 min-width : fit-content;
379+ white-space : nowrap;
376380}
377381
378382.npm-download-item .download-badge {
You can’t perform that action at this time.
0 commit comments