From 7fbc51d5df759faf80bd49ef790778f7bdcd5c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Tue, 2 Jun 2020 14:53:49 +0200 Subject: [PATCH] Photo: Max width on title --- src/style/organisms/_photos.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/style/organisms/_photos.scss b/src/style/organisms/_photos.scss index 462b40b..4b5c85f 100644 --- a/src/style/organisms/_photos.scss +++ b/src/style/organisms/_photos.scss @@ -80,6 +80,13 @@ } } + // Title + h2 { + @include breakpoint (sm) { + max-width: 840px; + } + } + // Even photos &:nth-child(even) { @include breakpoint (sm) { @@ -87,6 +94,9 @@ .photo__location, h2 { text-align: right; } + h2 { + margin-left: auto; + } // Image .photo {