From 845d6eefca8cebdec921a8942a759d31e7db6c96 Mon Sep 17 00:00:00 2001 From: Jawaher Laham Date: Wed, 14 Oct 2026 17:54:40 +0200 Subject: [PATCH 1/5] Oppdater forsiden og forenkle Utforsk turer --- src/App.css | 6 ++++++ src/App.tsx | 6 ++---- src/Home.css | 26 ++++++++++++++++++++++++++ src/Home.tsx | 15 +++++++++------ 4 files changed, 43 insertions(+), 10 deletions(-) diff --git a/src/App.css b/src/App.css index beae444..6b1aa45 100644 --- a/src/App.css +++ b/src/App.css @@ -4,3 +4,9 @@ header{height:90px;padding:0 5%;display:flex;align-items:center;justify-content: .map-and-osm{min-width:0;background:#fff}.map-and-osm .map-panel{height:580px}.osm-panel{padding:20px;font-size:12px;border-top:1px solid #dce1d7}.osm-panel label{font-size:14px;font-weight:600;display:flex;gap:8px;align-items:center}.osm-panel input{width:18px;height:18px;accent-color:#126b51}.osm-panel p{margin:10px 0}.osm-legend{font-weight:600}.osm-panel details{margin:15px 0}.osm-panel li{margin:8px 0}.osm-panel summary{cursor:pointer}@media(max-width:800px){.map-and-osm .map-panel{height:420px;min-height:420px}} .nav-link{color:#126b51;font-weight:600;font-size:14px;text-decoration:none}.nav-link:hover{text-decoration:underline}.header-actions{display:flex;align-items:center;gap:12px}.profile-link{display:flex;align-items:center;gap:8px;text-decoration:none;background:#126b51;color:#fff;padding:9px 14px;border-radius:20px;font-size:12px;font-weight:700}.profile-link span{font-size:15px} + +.explore-search-bar { margin: 24px 0; } +.explore-search-form { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 18px; border: 1px solid #d8dfd5; border-radius: 10px; background: #fff; } +.explore-search-form input { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none; padding: 12px 0; } +.explore-search-form button { flex-shrink: 0; } +@media (max-width: 480px) { .explore-search-form { gap: 8px; padding-left: 12px; } .explore-search-form > span, .explore-search-form button span { display: none; } } diff --git a/src/App.tsx b/src/App.tsx index e786abb..cce6af6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -236,10 +236,8 @@ export default function App() {
△ Norwegian Explorer