diff --git a/lib/panel-row.coffee b/lib/panel-row.coffee index 6205a7d..8f81e3a 100644 --- a/lib/panel-row.coffee +++ b/lib/panel-row.coffee @@ -1,4 +1,4 @@ -class PanelRow extends HTMLElement +class PanelRow extends HTMLTableRowElement initialize: (type, file) -> colTitle = @createColumn() colTitleIcon = document.createElement('span') diff --git a/styles/lcov-info.less b/styles/lcov-info.less index c7ddd21..0ba71f5 100644 --- a/styles/lcov-info.less +++ b/styles/lcov-info.less @@ -17,7 +17,7 @@ tr { width: 100%; - + display: block; &::after { content: " "; display: block; @@ -27,8 +27,9 @@ } th, td { + display: block; + float: left; width: 10%; - &:nth-child(1) { width: 50% } &:nth-child(2) { width: 20% } } @@ -95,7 +96,7 @@ .lcov-info-status { cursor: pointer; - + &.red { color: @background-color-error } &.orange { color: @background-color-warning } &.green { color: @background-color-success }