From 6c24fe8e2a04a4db30151c991a7ed94d4bb2bc95 Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 21 Jul 2015 21:14:55 -0400 Subject: [PATCH] this fixes scope button height in matrix popup + matrix popup from logger --- src/css/logger-ui.css | 4 +++- src/css/popup.css | 1 + src/js/logger-ui.js | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/css/logger-ui.css b/src/css/logger-ui.css index 4c1b9b3..b411807 100644 --- a/src/css/logger-ui.css +++ b/src/css/logger-ui.css @@ -2,8 +2,8 @@ body { background-color: white; border: 0; box-sizing: border-box; - color: black; -moz-box-sizing: border-box; + color: black; margin: 0; overflow-x: hidden; padding: 0; @@ -13,6 +13,7 @@ body { background-color: white; border: 0; box-sizing: border-box; + -moz-box-sizing: border-box; left: 0; margin: 0; padding: 0.5em 1em; @@ -25,6 +26,7 @@ body { background-color: white; border: none; box-sizing: border-box; + -moz-box-sizing: border-box; cursor: pointer; display: inline-block; font-size: 150%; diff --git a/src/css/popup.css b/src/css/popup.css index e8a36f5..a48be42 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -274,6 +274,7 @@ body .toolbar button#scopeCell { border: 1px dotted rgba(0,0,0,0.2); padding: 6px 1px 3px 1px; box-sizing: content-box; + -moz-box-sizing: content-box; width: 16em; height: 1.5em; white-space: nowrap; diff --git a/src/js/logger-ui.js b/src/js/logger-ui.js index 451f4da..bf5e5c6 100644 --- a/src/js/logger-ui.js +++ b/src/js/logger-ui.js @@ -282,7 +282,8 @@ var renderLogEntry = function(entry) { tr.cells[0].title = time.toLocaleDateString('fullwide', dateOptions); if ( entry.tab ) { - tr.classList.add('tab', classNameFromTabId(entry.tab)); + tr.classList.add('tab'); + tr.classList.add(classNameFromTabId(entry.tab)); if ( entry.tab === noTabId ) { tr.cells[1].appendChild(createHiddenTextNode('bts')); }