diff --git a/src/photo/PhotoLarge.tsx b/src/photo/PhotoLarge.tsx index 58d9f540..3ca4dd2f 100644 --- a/src/photo/PhotoLarge.tsx +++ b/src/photo/PhotoLarge.tsx @@ -256,205 +256,212 @@ export default function PhotoLarge({ > {renderLargePhoto} } + classNameSide="relative" contentSide={ - - {/* Meta */} -
-
- {renderAdminMenu} -
- {hasTitle && (showTitleAsH1 - ?

{renderPhotoLink}

- : renderPhotoLink)} -
- {photo.caption && -
- {photo.caption} -
} - {( - showCameraContent || - showLensContent || - showRecipeContent || - showTagsContent - ) && -
- {(showCameraContent || showLensContent) && -
- {showCameraContent && - + +
+ {/* Meta */} +
+
+ {renderAdminMenu} +
+ {hasTitle && (showTitleAsH1 + ?

{renderPhotoLink}

+ : renderPhotoLink)} +
+ {photo.caption && +
+ {photo.caption} +
} + {( + showCameraContent || + showLensContent || + showRecipeContent || + showTagsContent + ) && +
+ {(showCameraContent || showLensContent) && +
+ {showCameraContent && + } + {showLensContent && + } +
} + {showRecipeContent && recipeTitle && + } - {showLensContent && - }
} - {showRecipeContent && recipeTitle && - } - {showTagsContent && - } -
} -
-
- {/* EXIF Data */} -
-
- {renderAdminMenu} -
- {showExifContent && - <> -
    -
  • - {photo.focalLength && - - {photo.focalLengthFormatted} - } - {( - photo.focalLengthIn35MmFormatFormatted && - // eslint-disable-next-line max-len - photo.focalLengthIn35MmFormatFormatted !== photo.focalLengthFormatted - ) && - <> - {' '} - - +
+ {/* EXIF Data */} +
+
+ {renderAdminMenu} +
+ {showExifContent && + <> +
    +
  • + {photo.focalLength && + - {photo.focalLengthIn35MmFormatFormatted} - - - } -
  • -
  • {photo.fNumberFormatted}
  • -
  • {photo.exposureTimeFormatted}
  • -
  • {photo.isoFormatted}
  • -
  • {photo.exposureCompensationFormatted ?? '0ev'}
  • -
- {(showRecipeButton || showSimulationContent) && -
- {showSimulationContent && photo.filmSimulation && - } + {( + photo.focalLengthIn35MmFormatFormatted && + // eslint-disable-next-line max-len + photo.focalLengthIn35MmFormatFormatted !== photo.focalLengthFormatted + ) && + <> + {' '} + + + {photo.focalLengthIn35MmFormatFormatted} + + + } + +
  • {photo.fNumberFormatted}
  • +
  • {photo.exposureTimeFormatted}
  • +
  • {photo.isoFormatted}
  • +
  • {photo.exposureCompensationFormatted ?? '0ev'}
  • + + {(showRecipeButton || showSimulationContent) && +
    + {showSimulationContent && photo.filmSimulation && + } + {showRecipeButton && + + + } +
    } + } +
    + +
    + {showZoomControls && + } + onClick={() => zoomControlsRef.current?.open()} + styleAs="link" + className="text-medium translate-y-[0.25px]" + hideFocusOutline + />} + {shouldShare && + } - {showRecipeButton && - - - } -
    } - } -
    - -
    - {showZoomControls && - } - onClick={() => zoomControlsRef.current?.open()} - styleAs="link" - className="text-medium translate-y-[0.25px]" - hideFocusOutline - />} - {shouldShare && - } - {ALLOW_PUBLIC_DOWNLOADS && - } + {ALLOW_PUBLIC_DOWNLOADS && + } +
    +
    -
    -
    } + +
    } /> ); };