css: Fix sizing for icons in custom shortcuts

Closes: #2583.

Changes based on fix and workaround suggested by James Duncan (@jaduncan).

See: https://salsa.debian.org/freedombox-team/freedombox/-/work_items/2583

Tests:

- Home page, apps, system, and help icons appears as before.

- James Duncan (@jaduncan) reports that custom shortcut icons appear normal
after this change.

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2026-07-23 13:50:13 -07:00
parent f38f29e9e3
commit fadea7eb4a
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -625,11 +625,13 @@ footer {
}
.card-icon span,
.card-icon svg {
.card-icon svg,
.card-icon img {
width: 6.25rem;
height: 6.25rem;
font-size: 5rem;
margin: 0.5rem 0;
object-fit: contain;
}
.card .tag-separator {