Skip to content

Commit

Permalink
refactor(story): Using dedicated class for removing justify
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Jul 10, 2022
1 parent ffb5585 commit 604c81a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmd/fibr/templates/story.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@
}
{{ end }}

.context {
display: flex;
align-items: center;
}

.desc-input {
resize: vertical;
width: 30rem;
Expand Down Expand Up @@ -163,7 +168,7 @@

<div class="description relative">
{{ if or (.Exif.Geocode.HasAddress) (not .Exif.Date.IsZero) }}
<p class="flex flex-center">
<p class="context">
{{ if .Exif.Geocode.HasAddress }}
<img class="icon icon-bottom margin-right-half" src="{{ url "/svg/location?fill=#272727" }}" alt="Location">
<span class="location">
Expand Down

0 comments on commit 604c81a

Please sign in to comment.