diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index 7c04843..adef3d3 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -3217,7 +3217,32 @@ function App() {
{bird.name}
- {hasHistoricalData ?
Solid current, dashed previous year : null}
+ {hasHistoricalData ? (
+
+
+
+ Current
+
+
+
+ Previous year
+
+
+ ) : null}
);
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 9ef736b..e9034a9 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -1023,6 +1023,25 @@ textarea {
font-size: 0.85rem;
}
+.legend-line-key {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.45rem 0.75rem;
+ align-items: center;
+}
+
+.legend-line-key span {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.35rem;
+}
+
+.legend-line-key svg {
+ width: 44px;
+ height: 8px;
+ flex: 0 0 auto;
+}
+
.legend-swatch {
width: 14px;
height: 14px;