Photo: Max width on title

This commit is contained in:
2020-06-02 14:53:49 +02:00
parent a1f314348f
commit 7fbc51d5df

View File

@@ -80,6 +80,13 @@
} }
} }
// Title
h2 {
@include breakpoint (sm) {
max-width: 840px;
}
}
// Even photos // Even photos
&:nth-child(even) { &:nth-child(even) {
@include breakpoint (sm) { @include breakpoint (sm) {
@@ -87,6 +94,9 @@
.photo__location, h2 { .photo__location, h2 {
text-align: right; text-align: right;
} }
h2 {
margin-left: auto;
}
// Image // Image
.photo { .photo {