From 4545899d20ab20eaf22b0b224480cb13a4361ac8 Mon Sep 17 00:00:00 2001 From: Kacper Donat Date: Thu, 6 Feb 2020 23:09:24 +0100 Subject: [PATCH] Restyle stop group headers --- resources/components/finder.html | 2 +- resources/styles/_stop.scss | 30 ++++++++++++++++++------------ 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/resources/components/finder.html b/resources/components/finder.html index 72c38f4..ac9798c 100644 --- a/resources/components/finder.html +++ b/resources/components/finder.html @@ -15,8 +15,8 @@
diff --git a/resources/styles/_stop.scss b/resources/styles/_stop.scss index d194b20..3ac0d0c 100644 --- a/resources/styles/_stop.scss +++ b/resources/styles/_stop.scss @@ -1,8 +1,3 @@ -.stop-group__header { - @extend .flex; - - flex-wrap: wrap; -} .stop { flex-wrap: nowrap; @@ -21,13 +16,6 @@ .fold__inner { padding-bottom: .75rem; } } -.stop-group__name { - font-size: $font-size-base; - font-weight: bold; - - margin-bottom: 0; -} - .stop__variant { margin-left: .5em; } @@ -70,3 +58,21 @@ .finder__stop { max-width: 100%; } + +.stop-group:not(:last-child) { + margin-bottom: 1rem; +} + +.stop-group__header { + @extend .section__title; + display: flex; + padding: 0 !important; + margin-bottom: 0 !important; +} + +.stop-group__name { + font-size: $font-size-base; + font-weight: bold; + + margin-bottom: 0; +}