Skip to content

Commit a7a93b2

Browse files
committed
Padding for mobile + invert wled and esphomeweb
1 parent cabcb4e commit a7a93b2

File tree

2 files changed

+22
-10
lines changed

2 files changed

+22
-10
lines changed

src/components/details.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,17 @@ export class DetailsPage extends LitElement {
5959
border-radius: 8px;
6060
transition: all 0.2s ease;
6161
margin-bottom: 20px;
62+
background: #e3f2fd;
6263
}
6364
6465
.back-button:hover {
65-
background: #e3f2fd;
66+
background: #c0e1f8;
67+
}
68+
69+
.back-button svg {
70+
margin-top: 2px;
71+
width: 14px;
72+
height: 14px;
6673
}
6774
6875
.layout {
@@ -255,6 +262,10 @@ export class DetailsPage extends LitElement {
255262
}
256263
257264
@media (max-width: 768px) {
265+
:host {
266+
padding: 0px;
267+
}
268+
258269
.hero[data-expanded='false'] .secondary-description {
259270
display: none;
260271
}
@@ -270,10 +281,11 @@ export class DetailsPage extends LitElement {
270281
.layout {
271282
grid-template-columns: 1fr;
272283
grid-auto-rows: auto;
284+
gap: 10px;
273285
}
274286
275287
.hero {
276-
padding: 24px 20px;
288+
padding: 16px 20px;
277289
height: auto;
278290
display: block;
279291
}
@@ -324,7 +336,7 @@ export class DetailsPage extends LitElement {
324336
this._goBack();
325337
}}
326338
>
327-
<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
339+
<svg viewBox="0 0 16 16" fill="currentColor">
328340
<path
329341
d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"
330342
/>

src/utils/tools.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,18 @@ export const tools: ToolDefinition[] = [
5252
image: '/images/improv.png',
5353
url: '/improv',
5454
},
55-
{
56-
title: 'WLED installer',
57-
description: 'Install WLED firmware on ESP32/ESP8266 for LED control',
58-
image: '/images/wled.png',
59-
url: 'https://install.wled.me/',
60-
category: 'Collaboration partner',
61-
},
6255
{
6356
title: 'ESPHome Web',
6457
description:
6558
'Install and manage ESPHome firmware directly from your browser',
6659
image: '/images/esphome.png',
6760
url: 'https://web.esphome.io/',
6861
},
62+
{
63+
title: 'WLED installer',
64+
description: 'Install WLED firmware on ESP32/ESP8266 for LED control',
65+
image: '/images/wled.png',
66+
url: 'https://install.wled.me/',
67+
category: 'Collaboration partner',
68+
},
6969
];

0 commit comments

Comments
 (0)