Skip to content

Commit

Permalink
set min height and width to elements with no content so FF ESR and Ed…
Browse files Browse the repository at this point in the history
…ge know what to display (#20)
  • Loading branch information
schloerke authored Mar 5, 2019
1 parent bf269b3 commit 764e22c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions inst/reactlog/reactlogAsset/reactlog.css
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ text {
border: 1px solid #777;
height: 14px;
width: 14px;
min-width: 14px;
min-height: 14px;
border-radius: 2px;
}
.legendLabel {
Expand Down
1 change: 1 addition & 0 deletions inst/reactlog/reactlogAsset/reactlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -74835,6 +74835,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
fillContainerVal.css("bottom", "".concat(timelinePadding, "px"));
fillContainer = fillContainerVal;
fullContainerVal.css("height", "".concat(timelineHeight, "px"));
fullContainerVal.css("min-height", "".concat(timelineHeight, "px"));
fullContainerVal.css("background-color", _colors.colors.progressBar.background);
fullContainerVal.on("mousedown mousemove", updateFromProgressBar);
};
Expand Down
2 changes: 1 addition & 1 deletion inst/reactlog/reactlogAsset/reactlog.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions srcjs/layout/progressBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ let setContainers = function(
fillContainer = fillContainerVal;

fullContainerVal.css("height", `${timelineHeight}px`);
fullContainerVal.css("min-height", `${timelineHeight}px`);
fullContainerVal.css("background-color", colors.progressBar.background);
fullContainerVal.on("mousedown mousemove", updateFromProgressBar);
};
Expand Down

0 comments on commit 764e22c

Please sign in to comment.