<commit_before>$image-max-height: 400px;

// Styles related to there being no cropper
.image-upload {

	.img-thumbnail { 
		background: transparent;
		z-index: 100;
		@include box-sizing(border-box);
		max-height: $image-max-height;

		// Looks better with a lil extra.  I think because of line-height stuff
		margin-top: 5px + 2px;

		// Always put it on it's own line
		display: block;
	}

}


// This container contains multiple instances of images that get turned
// into jcrop instances.
.image-upload-cropper {
	position: relative;
	display: block;
	padding-top: 10px;

	// If it follows a block help, reduce the spacing
	.help-block + & {
		padding-top: 5px;
	}

	// Show a checkered background behind the image
	.jcrop-tracker {
		background: transparent;
	}
	.jcrop-holder {
		background-color: transparent !important;
		background-image: url($decoy_img_dir + '/jcrop/img-bkgd.png');
	}
	
	// Remove the margin that we want when no crops are present
	.img-thumbnail {
		margin: 0;
		max-height: $image-max-height;

		// Remove the rounded corner in the uppwer left
		@include border-corner-radius(top, left, 0);
	}
	
	// Setup the tabs
	.tabs {
		display: inline-block;
		margin-bottom: -1px;
		
		// The tabs
		> * {
			padding: 6px;
			margin-right: 2px;
			line-height: 1em;
			display: inline-block;
			border: solid 1px transparent;
			@include border-corner-radius(top, left, 4px);
			@include border-corner-radius(top, right, 4px);
			
			// The active tab
			&.active {<commit_msg>Refactoring max-height, it only needed to be set on one place<commit_after>// Styles for cropper and not cropper images
.image-upload {
	.img-thumbnail { 
		background: transparent;
		z-index: 100;
		@include box-sizing(border-box);

		// Don't allow images to get crazy big
		max-height: 400px;

		// Looks better with a lil extra.  I think because of line-height stuff
		margin-top: 5px + 2px;

		// Always put it on it's own line
		display: block;
	}
}

// This container contains multiple instances of images that get turned
// into jcrop instances.
.image-upload-cropper {
	position: relative;
	display: block;
	padding-top: 10px;

	// If it follows a block help, reduce the spacing
	.help-block + & {
		padding-top: 5px;
	}

	// Show a checkered background behind the image
	.jcrop-tracker {
		background: transparent;
	}
	.jcrop-holder {
		background-color: transparent !important;
		background-image: url($decoy_img_dir + '/jcrop/img-bkgd.png');
	}
	
	// Remove the margin that we want when no crops are present
	.img-thumbnail {
		margin: 0;

		// Remove the rounded corner in the uppwer left
		@include border-corner-radius(top, left, 0);
	}
	
	// Setup the tabs
	.tabs {
		display: inline-block;
		margin-bottom: -1px;
		
		// The tabs
		> * {
			padding: 6px;
			margin-right: 2px;
			line-height: 1em;
			display: inline-block;
			border: solid 1px transparent;
			@include border-corner-radius(top, left, 4px);
			@include border-corner-radius(top, right, 4px);
			
			// The active tab
			&.active {
{'fraction_non_alphanumeric': 0.11586985391766268, 'fraction_numerical': 0.013280212483399735, 'mean_word_length': 3.017333333333333, 'pattern_counts': {'":': 0, '<': 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': '1520903', 'n_tokens_mistral': 1172, 'n_tokens_neox': 1000, 'n_words': 322}