mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
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:
parent
f38f29e9e3
commit
fadea7eb4a
@ -625,11 +625,13 @@ footer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card-icon span,
|
.card-icon span,
|
||||||
.card-icon svg {
|
.card-icon svg,
|
||||||
|
.card-icon img {
|
||||||
width: 6.25rem;
|
width: 6.25rem;
|
||||||
height: 6.25rem;
|
height: 6.25rem;
|
||||||
font-size: 5rem;
|
font-size: 5rem;
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .tag-separator {
|
.card .tag-separator {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user