<commit_before>import { Components, registerComponent, Utils } from 'meteor/vulcan:core';
import React, { PureComponent } from 'react';
import { CardMedia } from 'material-ui/Card';
import { withRouter, Link } from 'react-router';
import { withStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';

const styles = theme => ({
  root: {
    cursor:"pointer",
    width:"100%",
    [theme.breakpoints.down('sm')]: {
      maxWidth: 347
    },
  },
  card: {
    padding:theme.spacing.unit*2.5,
    display:"flex",
    height:310,
    flexWrap: "wrap",
    flexDirection: "column",
    justifyContent: "space-between",
    "&:hover": {
      boxShadow: "0 0 5px rgba(0,0,0,.2)"
    },
    [theme.breakpoints.down('sm')]: {
      height: "auto",
    },
  },
  content: {
    marginLeft: theme.spacing.unit*5,
    marginBottom:theme.spacing.unit*2,
    width: "100%",
    maxWidth: 307,
    borderTop: "solid 4px black",
    paddingTop: theme.spacing.unit,
    [theme.breakpoints.down('sm')]: {
      marginLeft: 0,
    }
  },
  text: {
    ...theme.typography.postStyle
  },
  author: {
    ...theme.typography.postStyle,
    marginBottom:theme.spacing.unit,
  },
  media: {
    height:271,
    [theme.breakpoints.down('sm')]: {
      height: 90,
      order:2,
      overflow: "hidden"
    },
    '& img': {
      width:307,
      [theme.breakpoints.down('sm')]: {
        width: "100%",<commit_msg>Fix pre-loaded image width<commit_after>import { Components, registerComponent, Utils } from 'meteor/vulcan:core';
import React, { PureComponent } from 'react';
import { CardMedia } from 'material-ui/Card';
import { withRouter, Link } from 'react-router';
import { withStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';

const styles = theme => ({
  root: {
    cursor:"pointer",
    width:"100%",
    [theme.breakpoints.down('sm')]: {
      maxWidth: 347
    },
  },
  card: {
    padding:theme.spacing.unit*2.5,
    display:"flex",
    height:310,
    flexWrap: "wrap",
    flexDirection: "column",
    justifyContent: "space-between",
    "&:hover": {
      boxShadow: "0 0 5px rgba(0,0,0,.2)"
    },
    [theme.breakpoints.down('sm')]: {
      height: "auto",
    },
  },
  content: {
    marginLeft: theme.spacing.unit*5,
    marginBottom:theme.spacing.unit*2,
    width: "100%",
    maxWidth: 307,
    borderTop: "solid 4px black",
    paddingTop: theme.spacing.unit,
    [theme.breakpoints.down('sm')]: {
      marginLeft: 0,
    }
  },
  text: {
    ...theme.typography.postStyle
  },
  author: {
    ...theme.typography.postStyle,
    marginBottom:theme.spacing.unit,
  },
  media: {
    height:271,
    width:307,
    [theme.breakpoints.down('sm')]: {
      width: "100%",
      maxWidth: 307,
      height: 90,
      order:2,
      overflow: "hidden"
    },
    '& img': {
      width:307,
      [theme.breakpoints.down('sm')]: {
        width: "100%",
{'fraction_non_alphanumeric': 0.17367706919945725, 'fraction_numerical': 0.030189959294436908, 'mean_word_length': 2.83984375, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4112243', 'n_tokens_mistral': 1086, 'n_tokens_neox': 1016, 'n_words': 189}