Skip to content

Commit 205bd16

Browse files
stevenjoezhangivan-nginx
authored andcommitted
CSS bug in Codeblock if string longer than viewport (#803)
* fix #761 * Fixed right marign during refresh * Backed highlight
1 parent 54b7abf commit 205bd16

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

source/css/_common/scaffolding/tables.styl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
-webkit-overflow-scrolling: touch;
55
}
66

7+
.highlight .table-container {
8+
margin: 0px;
9+
}
10+
711
table {
812
width: $table-width;
913
border-collapse: collapse;

source/js/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ NexT.utils = NexT.$u = {
298298
$(document).ready(function() {
299299

300300
function wrapTable() {
301-
$('table').not('figure table').wrap('<div class="table-container"></div>');
301+
$('table').wrap('<div class="table-container"></div>');
302302
}
303303

304304
/**

0 commit comments

Comments
 (0)