Skip to content
Permalink
Browse files

bluescreen: Fixed scollbar in long one-liners on Mac [Closes #363]

  • Loading branch information...
dg committed Apr 8, 2019
1 parent 9a65130 commit c151c856442dde8985a4dcece5a5415d2806bc72
Showing with 8 additions and 0 deletions.
  1. +4 −0 src/Tracy/BlueScreen/assets/bluescreen.css
  2. +4 −0 src/Tracy/BlueScreen/assets/bluescreen.js
@@ -186,6 +186,10 @@
overflow: auto;
}

#tracy-bs.mac .outer {
padding-bottom: 12px;
}


/* source code */
#tracy-bs pre.code > div {
@@ -20,6 +20,10 @@
}
}

if (navigator.platform.indexOf('Mac') > -1) {
blueScreen.classList.add('mac');
}

document.getElementById('tracy-bs-toggle').addEventListener('tracy-toggle', function() {
let collapsed = this.classList.contains('tracy-collapsed');
for (let i = 0; i < styles.length; i++) {

0 comments on commit c151c85

Please sign in to comment.
You can’t perform that action at this time.