From a20d599e3f5c9caac46e7bfdefebc13220beb4f8 Mon Sep 17 00:00:00 2001 From: reverend Date: Sat, 1 Aug 2020 00:27:38 +0200 Subject: [PATCH] Restructured PlaceTeaser --- .../placeTeaser/_placeTeaser.scss | 27 ++++++------------- .../02_Molecules/placeTeaser/placeTeaser.hbs | 14 +++++----- 2 files changed, 16 insertions(+), 25 deletions(-) diff --git a/components/02_Molecules/placeTeaser/_placeTeaser.scss b/components/02_Molecules/placeTeaser/_placeTeaser.scss index d871678..a854dc2 100644 --- a/components/02_Molecules/placeTeaser/_placeTeaser.scss +++ b/components/02_Molecules/placeTeaser/_placeTeaser.scss @@ -1,33 +1,22 @@ .LP-Place{ + width: 280px; + .LP-Place__Image{ - width: 280px; height: 165px; object-fit: fill; } - .LP-Place__Assets{ + .LP-Place__Meta{ display: flex; align-items: center; justify-content: space-between; - margin-top: 0.8rem; - - padding: 0 10px; padding-bottom: 10px; } - .LP-Place__Info{ - - .LP-Place__Title{ - - } - - .LP-Place__Description{ - font-family: $-primary-sans-serif-accent-font; - color: $-secondary-color; - } - - .LP-Place__Detail{ - } - } + .LP-Place__Description{ + font-family: $-primary-sans-serif-accent-font; + color: $-secondary-color; + display: none; + } } \ No newline at end of file diff --git a/components/02_Molecules/placeTeaser/placeTeaser.hbs b/components/02_Molecules/placeTeaser/placeTeaser.hbs index b3b4e76..0f56459 100644 --- a/components/02_Molecules/placeTeaser/placeTeaser.hbs +++ b/components/02_Molecules/placeTeaser/placeTeaser.hbs @@ -5,15 +5,17 @@
{{> @headline headline=title modifier='--teaser'}} - {{> @paragraph text=location modifier='--teaser'}} + {{> @paragraph text=location modifier='--detail'}}
{{> @paragraph text=description}}
- +
+
    +
  • +
  • +
  • +
+
\ No newline at end of file