Browse Source

add css for browser popup err messages

py3-upgrade
Noah Hall 4 years ago
parent
commit
00087f19d6
3 changed files with 9 additions and 1 deletions
  1. +6
    -0
      browser/src/css/main.css
  2. +2
    -0
      browser/src/js/UI.js
  3. +1
    -1
      package.json

+ 6
- 0
browser/src/css/main.css View File

@ -64,3 +64,9 @@
margin: .5em;
border-radius: .5em;
}
.error {
background-color: #d33682;
color: #eee8d5;
border-radius: .5em;
}

+ 2
- 0
browser/src/js/UI.js View File

@ -90,6 +90,8 @@ export default class UI {
return true
} else {
console.log("login fail")
error('Please try to log in again.')
return false
}
}
)


+ 1
- 1
package.json View File

@ -33,7 +33,7 @@
"react-youtube": "^7.5.0",
"sass-loader": "^6.0.6",
"style-loader": "^0.20.1",
"webpack": "^3.0.0",
"webpack": "^4.8.3",
"webpack-bundle-tracker": "0.2.1"
}
}

Loading…
Cancel
Save