<commit_before>// ----------------------
//
// Tables
//
// ----------------------

table {
	width: 100%;
	th,
	td {
		padding: .5em;
	}
	th {
		text-align: left;
	}
	thead {
		th {
			border-bottom: 1px solid $wire-table-border-color;
		}
	}
	tfoot {
		border-top: 1px solid $wire-table-border-color;
	}
	@include mq(phone) {
		thead,
		th {
			display: none;
		}
		tbody {
			tr {
				display: block;
				border-bottom: 1px solid $wire-table-border-color;
				&:last-child {
					border-bottom: 0;
				}
			}
			td {
				display: block;
				margin-left: 8em;
				&::before {
					content: attr(data-th) ": ";
					font-weight: 700;
					display: inline-block;
					margin-left: -8em;
					min-width: 8em;
				}
			}
		}
		tfoot {
			td {
				display: block;
			}
		}
	}
	&[data-table~="striped"] {
		tr {
			&:nth-child(even) {
				background: $wire-table-tr-even-bg;
			}
		}
	}
}<commit_msg>Fix #1 Issue in tables<commit_after>// ----------------------
//
// Tables
//
// ----------------------

table {
	width: 100%;
	th,
	td {
		padding: .5em;
	}
	th {
		text-align: left;
	}
	thead {
		th {
			border-bottom: 1px solid $wire-table-border-color;
		}
	}
	tfoot {
		border-top: 1px solid $wire-table-border-color;
	}
	@include mq(phone) {
		&[data-table~="responsive"] {
			thead,
			th {
				display: none;
			}
			tbody {
				tr {
					display: block;
					border-bottom: 1px solid $wire-table-border-color;
					&:last-child {
						border-bottom: 0;
					}
				}
				td {
					display: block;
					margin-left: 8em;
					&::before {
						content: attr(data-th) ": ";
						font-weight: 700;
						display: inline-block;
						margin-left: -8em;
						min-width: 8em;
					}
				}
			}
			tfoot {
				td {
					display: block;
				}
			}
		}
	}
	&[data-table~="striped"] {
		tr {
			&:nth-child(even) {
				background: $wire-table-tr-even-bg;
			}
		}
	}
}
{'fraction_non_alphanumeric': 0.20869098712446352, 'fraction_numerical': 0.01555793991416309, 'mean_word_length': 1.6267605633802817, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, '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': '3376354', 'n_tokens_mistral': 985, 'n_tokens_neox': 745, 'n_words': 135}