<commit_before>.inlineCode, /* deprecated, legacy class */
kbd {
	/* do not use inline-block, it breaks arrow key navigation in Firefox and Internet Explorer 11 */

	/* update: `inline` styling breaks even more things, in particular the caret position is way off */
	/* this reverts 8d381dc61e8183adcb770457f9fba25c29c00bd2 */

	/* new update: `display: inline` + `box-decoration-break` deliver the proper visual appearance,
	               and the `::after` element in the editor is used to fix the caret position at the end */

	background-color: rgba(255, 255, 255, 1) !important;
	border: 1px solid rgba(196, 196, 196, 1) !important;
	border-radius: 2px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	color: rgba(68, 68, 68, 1) !important;
	display: inline;
	font-family: $wcfFontFamilyMonospace;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	margin: 0 2px;
	overflow: auto;
	padding: 0 4px;
	text-decoration: none;
	vertical-align: middle;
	word-break: break-all;
	word-wrap: break-word;

	@include screen-sm-down {
		/* Reduce the padding to prevent pixel rounding errors in the font rendering that
		   can cause the page to display a horizontal scrollbar when <kbd> appears at the
		   edge of the content container. */
		padding: 0 3px;
	}
}

@supports (-webkit-overflow-scrolling: touch) {
	.inlineCode,
	kbd {
		-webkit-box-decoration-break: initial;
	}
}
<commit_msg>Properly size `kbd` elements in `small` elements<commit_after>.inlineCode, /* deprecated, legacy class */
kbd {
	/* do not use inline-block, it breaks arrow key navigation in Firefox and Internet Explorer 11 */

	/* update: `inline` styling breaks even more things, in particular the caret position is way off */
	/* this reverts 8d381dc61e8183adcb770457f9fba25c29c00bd2 */

	/* new update: `display: inline` + `box-decoration-break` deliver the proper visual appearance,
	               and the `::after` element in the editor is used to fix the caret position at the end */

	background-color: rgba(255, 255, 255, 1) !important;
	border: 1px solid rgba(196, 196, 196, 1) !important;
	border-radius: 2px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	color: rgba(68, 68, 68, 1) !important;
	display: inline;
	font-family: $wcfFontFamilyMonospace;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	margin: 0 2px;
	overflow: auto;
	padding: 0 4px;
	text-decoration: none;
	vertical-align: middle;
	word-break: break-all;
	word-wrap: break-word;

	@include screen-sm-down {
		/* Reduce the padding to prevent pixel rounding errors in the font rendering that
		   can cause the page to display a horizontal scrollbar when <kbd> appears at the
		   edge of the content container. */
		padding: 0 3px;
	}
}

small kbd {
	@include wcfFontSmall;
}

@supports (-webkit-overflow-scrolling: touch) {
	.inlineCode,
	kbd {
		-webkit-box-decoration-break: initial;
	}
}

{'fraction_non_alphanumeric': 0.10859106529209622, 'fraction_numerical': 0.04329896907216495, 'mean_word_length': 3.876046901172529, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3744102', 'n_tokens_mistral': 1097, 'n_tokens_neox': 930, 'n_words': 332}