import {windowDimensions} from '@shared/constants';

const getImageSize = (isLastComment?: boolean) =>
  40 * (isLastComment ? 0.85 : 1);
const BIG_IMAGE = getImageSize(false);
const CONTAINER_MARGIN = 10;
const IMAGE_MARGIN = 5;
const BIG_COMMENT_LEFT_DISTANCE = CONTAINER_MARGIN + BIG_IMAGE + IMAGE_MARGIN;
const MARGIN_RIGHT = 20;
export const COMMENT_WIDTH =
  windowDimensions.width - BIG_COMMENT_LEFT_DISTANCE - MARGIN_RIGHT;
