Browse Source

this fixes scope button height in matrix popup + matrix popup from logger

pull/2/head
gorhill 9 years ago
parent
commit
6c24fe8e2a
  1. 4
      src/css/logger-ui.css
  2. 1
      src/css/popup.css
  3. 3
      src/js/logger-ui.js

4
src/css/logger-ui.css

@ -2,8 +2,8 @@ body {
background-color: white; background-color: white;
border: 0; border: 0;
box-sizing: border-box; box-sizing: border-box;
color: black;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
color: black;
margin: 0; margin: 0;
overflow-x: hidden; overflow-x: hidden;
padding: 0; padding: 0;
@ -13,6 +13,7 @@ body {
background-color: white; background-color: white;
border: 0; border: 0;
box-sizing: border-box; box-sizing: border-box;
-moz-box-sizing: border-box;
left: 0; left: 0;
margin: 0; margin: 0;
padding: 0.5em 1em; padding: 0.5em 1em;
@ -25,6 +26,7 @@ body {
background-color: white; background-color: white;
border: none; border: none;
box-sizing: border-box; box-sizing: border-box;
-moz-box-sizing: border-box;
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
font-size: 150%; font-size: 150%;

1
src/css/popup.css

@ -274,6 +274,7 @@ body .toolbar button#scopeCell {
border: 1px dotted rgba(0,0,0,0.2); border: 1px dotted rgba(0,0,0,0.2);
padding: 6px 1px 3px 1px; padding: 6px 1px 3px 1px;
box-sizing: content-box; box-sizing: content-box;
-moz-box-sizing: content-box;
width: 16em; width: 16em;
height: 1.5em; height: 1.5em;
white-space: nowrap; white-space: nowrap;

3
src/js/logger-ui.js

@ -282,7 +282,8 @@ var renderLogEntry = function(entry) {
tr.cells[0].title = time.toLocaleDateString('fullwide', dateOptions); tr.cells[0].title = time.toLocaleDateString('fullwide', dateOptions);
if ( entry.tab ) { if ( entry.tab ) {
tr.classList.add('tab', classNameFromTabId(entry.tab));
tr.classList.add('tab');
tr.classList.add(classNameFromTabId(entry.tab));
if ( entry.tab === noTabId ) { if ( entry.tab === noTabId ) {
tr.cells[1].appendChild(createHiddenTextNode('bts')); tr.cells[1].appendChild(createHiddenTextNode('bts'));
} }

Loading…
Cancel
Save