Skip to content

Commit

Permalink
Another bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMcMurder committed May 10, 2017
1 parent 346d95c commit 14f85e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "single-spa-canopy",
"version": "1.7.1",
"version": "1.7.2",
"description": "Some helpers for single-spa child apps at canopy",
"main": "lib/single-spa-canopy.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/overlays.helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export function createOverlayWithText (opts, elementToAppendChild) {
div.style.left = opts.overlay.left || 0
div.style.pointerEvents = 'none'
div.style.background = opts.overlay.background || getColorFromString(opts.childAppName)
shouldShowOverlay(div)

const childDiv = div.appendChild(document.createElement('div'))
childDiv.style.display = 'flex'
Expand All @@ -65,6 +64,7 @@ export function createOverlayWithText (opts, elementToAppendChild) {
childDiv.style.height = '100%'
childDiv.style.fontSize = '32px'
childDiv.appendChild(document.createTextNode(opts.childAppName))
shouldShowOverlay(div)

return div
}
Expand Down

0 comments on commit 14f85e1

Please sign in to comment.