From 8dd7cbbb06abc6c1d98721dcb2d15d62d0fc6c54 Mon Sep 17 00:00:00 2001 From: Julie Date: Fri, 20 Feb 2026 22:44:41 +0100 Subject: [PATCH] corrections --- app/assets/scss/component/_header_nav.scss | 15 ++++---- app/components/HorizontalCards.vue | 42 ++++++++++++++++++---- app/components/concert/ConcertCardList.vue | 1 + app/components/header/HeaderDefault.vue | 6 ++-- app/components/header/HeaderNav.vue | 4 +-- 5 files changed, 49 insertions(+), 19 deletions(-) diff --git a/app/assets/scss/component/_header_nav.scss b/app/assets/scss/component/_header_nav.scss index 76095b6..1314181 100644 --- a/app/assets/scss/component/_header_nav.scss +++ b/app/assets/scss/component/_header_nav.scss @@ -206,9 +206,9 @@ list-style: none; - @media (min-width: 742px) and (max-width: 795px) { + @media (min-width: 728px) and (max-width: 795px) { .decalage_gauche { - margin-left: -23px; + margin-left: -73px; } } @@ -396,17 +396,17 @@ &.is-open { .burger_line:nth-child(1) { - top: 8px; - transform: rotate(45deg); + top: 8px; + transform: rotate(45deg); } .burger_line:nth-child(2) { - opacity: 0; + opacity: 0; } .burger_line:nth-child(3) { - top: 8px; - transform: rotate(-45deg); + top: 8px; + transform: rotate(-45deg); } } } @@ -451,6 +451,7 @@ &.is-open { + border-bottom: none !important; .header_drawer_sub_menu { display: block; visibility: visible; diff --git a/app/components/HorizontalCards.vue b/app/components/HorizontalCards.vue index 030acdb..2966a85 100644 --- a/app/components/HorizontalCards.vue +++ b/app/components/HorizontalCards.vue @@ -16,12 +16,24 @@ - - +
{}, 80) } + const scrollByHint = (direction) => { + const el = scroller.value + if (!el) return + + const distance = Math.max(140, Math.round(el.clientWidth * 0.8)) + el.scrollBy({ left: distance * direction, behavior: 'smooth' }) + } + onMounted(() => { const el = scroller.value if (!el) return @@ -187,7 +207,11 @@ /* Hint icon */ .hc__hint { - pointer-events: none; + pointer-events: auto; + border: 0; + padding: 0; + cursor: pointer; + appearance: none; position: absolute; right: 10px; top: 50%; @@ -204,7 +228,11 @@ z-index: 2; } .hc__hint--left { - pointer-events: none; + pointer-events: auto; + border: 0; + padding: 0; + cursor: pointer; + appearance: none; position: absolute; left: 10px; top: 50%; @@ -300,4 +328,4 @@ opacity: 0.55; } } - \ No newline at end of file + diff --git a/app/components/concert/ConcertCardList.vue b/app/components/concert/ConcertCardList.vue index 9837977..a4b5911 100644 --- a/app/components/concert/ConcertCardList.vue +++ b/app/components/concert/ConcertCardList.vue @@ -135,6 +135,7 @@ //règle spécifique après la règle générale .concert-card-list.concert-card-list--highlight-first > .concert-card:first-child { flex: 2 1 480px; + min-width: 500px; } } diff --git a/app/components/header/HeaderDefault.vue b/app/components/header/HeaderDefault.vue index a2ab834..c3f10ab 100644 --- a/app/components/header/HeaderDefault.vue +++ b/app/components/header/HeaderDefault.vue @@ -40,9 +40,9 @@ margin-left: -11px; } .img_ticket_mob { - max-height: 37px; - margin-top: 9px; - margin-left: -11px; + max-height: 31px; + margin-top: 10px; + // margin-left: -11px; } diff --git a/app/components/header/HeaderNav.vue b/app/components/header/HeaderNav.vue index ace9c19..ab69f46 100644 --- a/app/components/header/HeaderNav.vue +++ b/app/components/header/HeaderNav.vue @@ -68,9 +68,9 @@ -
  • +
  • Mécénat -
      +
      • Nous soutenir
      • Entreprises
      • Les projets