Commit 726883ab4b

726883ab4b5645bdc6a2eb89fb9cc5c4b90aaa2a

parent: ff531f2549

Unsigned

Alicia Sykes <alicia@omg.lol> · 2026-08-09 08:04 UTC

Use object-fit: contain, so icons don't get squashed if not square

Layout: unified · split

web/src/components/things/Search.svelte +1
@@ -231,6 +231,7 @@
231231 border-radius: var(--curve-md);
232232 width: 1.25rem;
233233 height: 1.25rem;
234 object-fit: contain;
234235 font-size: 10px;
235236 color: var(--accent-text);
236237 overflow: hidden;
web/src/components/things/ServiceIcon.astro +1
@@ -104,6 +104,7 @@ const iconSize = Math.round(size * 0.45);
104104 .service-icon {
105105 position: absolute;
106106 inset: 0;
107 object-fit: contain;
107108 border-radius: var(--curve-sm);
108109 font-size: 0;
109110 }
web/src/components/things/SmartSuggestions.svelte +1
@@ -129,6 +129,7 @@
129129 .service-icon {
130130 width: 2.5rem;
131131 height: 2.5rem;
132 object-fit: contain;
132133 border-radius: var(--curve-sm);
133134
134135 font-size: 10px;
web/src/components/things/service-card.scss +3
@@ -42,6 +42,9 @@
4242 display: flex;
4343 align-items: center;
4444 gap: var(--space-sm);
45 .service-icon {
46 object-fit: contain;
47 }
4548 :global(p) {
4649 @include line-clamp(3);
4750 margin: var(--space-sm) 0;
web/src/pages/inventory/[...inventoryId].astro +2 −2
@@ -28,7 +28,7 @@ if (serviceList.error) {
2828
2929<Layout title={`${makeTitle(inventoryId)} | Awesome Privacy`}>
3030 <main>
31 <h2>{makeTitle(inventoryId)}</h2>
31 <h1>{makeTitle(inventoryId)}</h1>
3232 {
3333 cheekyLilError && (
3434 <div class="error">
@@ -65,7 +65,7 @@ if (serviceList.error) {
6565 flex-direction: column;
6666 min-height: calc(100vh - 12rem);
6767 font-size: var(--text-md);
68 h2 {
68 h1 {
6969 font-family: var(--font-subtitle);
7070 font-weight: bold;
7171 font-size: var(--text-4xl);