From b5ecd47fd67a1e70c3f66558894b3a8704ed444e Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Fri, 16 Sep 2022 08:54:58 +0000 Subject: [PATCH] fix(annuaire): results height and uncenter filters --- src/app/annuaire/result-list/result-list.component.scss | 2 +- src/app/annuaire/search-bar/search-bar.component.scss | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/annuaire/result-list/result-list.component.scss b/src/app/annuaire/result-list/result-list.component.scss index 7d50a6959..ffa95bc69 100644 --- a/src/app/annuaire/result-list/result-list.component.scss +++ b/src/app/annuaire/result-list/result-list.component.scss @@ -34,7 +34,7 @@ } &.notEmpty { //make sure it fits the correct height no matter the content lengtj and screen height - max-height: calc(100vh - $footer-height - $header-height - $header-height - 2rem); + max-height: calc(100vh - $footer-height - $header-height - $header-height - 5rem); @media #{$large-phone} { height: 100%; } diff --git a/src/app/annuaire/search-bar/search-bar.component.scss b/src/app/annuaire/search-bar/search-bar.component.scss index 2560af6a8..470df4363 100644 --- a/src/app/annuaire/search-bar/search-bar.component.scss +++ b/src/app/annuaire/search-bar/search-bar.component.scss @@ -17,8 +17,7 @@ .content { display: flex; align-items: center; - max-width: 980px; - margin: 0 auto 0.5rem auto; + margin-bottom: 0.5rem; input { @include lato-regular-13; @include input-search; @@ -188,7 +187,7 @@ a { } } .filterTags { - margin: 0.5rem 0 0 0; + margin-top: 0.5rem; .title { margin-top: 5px; color: $grey-3; -- GitLab