Skip to content

Commit 3d5bc3e

Browse files
author
Admin9705
committed
update
1 parent 393f7c7 commit 3d5bc3e

File tree

1 file changed

+96
-5
lines changed

1 file changed

+96
-5
lines changed

frontend/templates/components/apps_section.html

Lines changed: 96 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -410,17 +410,108 @@ <h3>Prowlarr</h3>
410410

411411
@media (max-width: 768px) {
412412
.apps-grid {
413-
grid-template-columns: 1fr;
414-
gap: 15px;
415-
padding: 15px;
413+
grid-template-columns: repeat(2, 1fr);
414+
gap: 10px;
415+
padding: 10px;
416+
max-width: 100%;
416417
}
417418

418419
.app-card {
419-
padding: 20px 15px;
420+
padding: 15px 10px;
421+
min-height: 140px;
422+
max-width: 100%;
423+
}
424+
425+
.app-icon {
426+
width: 40px;
427+
height: 40px;
428+
margin: 0 auto 12px;
429+
}
430+
431+
.app-icon .app-icon-img {
432+
width: 24px;
433+
height: 24px;
434+
}
435+
436+
.app-card h3 {
437+
font-size: 16px;
438+
margin-bottom: 6px;
439+
line-height: 1.2;
440+
}
441+
442+
.app-card p {
443+
font-size: 12px;
444+
line-height: 1.3;
445+
margin: 0;
446+
}
447+
448+
.section-header {
449+
margin-bottom: 20px;
450+
padding: 0 10px;
420451
}
421452

422453
.section-header h2 {
423-
font-size: 24px;
454+
font-size: 22px;
455+
margin-bottom: 8px;
456+
}
457+
458+
.section-header p {
459+
font-size: 14px;
460+
}
461+
462+
.apps-overview {
463+
padding: 0 5px;
464+
}
465+
466+
/* Reduce hover effects on mobile for better performance */
467+
.app-card:hover {
468+
transform: translateY(-2px);
469+
}
470+
471+
.app-card:hover .app-icon {
472+
transform: scale(1.05);
473+
}
474+
}
475+
476+
/* Extra small screens - single column */
477+
@media (max-width: 480px) {
478+
.apps-grid {
479+
grid-template-columns: repeat(2, 1fr);
480+
gap: 8px;
481+
padding: 8px;
482+
}
483+
484+
.app-card {
485+
padding: 12px 8px;
486+
min-height: 120px;
487+
}
488+
489+
.app-icon {
490+
width: 35px;
491+
height: 35px;
492+
margin: 0 auto 10px;
493+
}
494+
495+
.app-icon .app-icon-img {
496+
width: 20px;
497+
height: 20px;
498+
}
499+
500+
.app-card h3 {
501+
font-size: 14px;
502+
margin-bottom: 4px;
503+
}
504+
505+
.app-card p {
506+
font-size: 11px;
507+
}
508+
509+
.section-header h2 {
510+
font-size: 20px;
511+
}
512+
513+
.section-header p {
514+
font-size: 13px;
424515
}
425516
}
426517
</style>

0 commit comments

Comments
 (0)