From 50c181f2fddca5aacbe5d6b98e193cc1263cd6e3 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 8 Apr 2023 15:17:44 -0700 Subject: [PATCH] Add some nobreak spans around data in the photos EXIF table --- layouts/partials/photo_exif_table.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/photo_exif_table.html b/layouts/partials/photo_exif_table.html index 7f18b6d..569cff0 100644 --- a/layouts/partials/photo_exif_table.html +++ b/layouts/partials/photo_exif_table.html @@ -21,7 +21,9 @@ {{ $heightpx := .Tags.PixelYDimension }} {{ if and (gt $widthpx 0) (gt $heightpx 0) }} {{ $megapixels := div (mul $widthpx $heightpx) 1e6 }} - {{ $megapixels | lang.FormatNumber 0 }} MP • {{ $widthpx }} × {{ $heightpx }} + {{ $megapixels | lang.FormatNumber 0 }} MP + • + {{ $widthpx }} × {{ $heightpx }} {{ end }} {{ end }}