Skip to content

Commit

Permalink
Added error message responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
victrme committed Mar 17, 2022
1 parent fd4902b commit ead3ef6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function errorMessage(comment, error) {
title.textContent = 'Bonjourr has a problem 😖'
subtitle.textContent = `Copy this message below and contact us !`
explain.textContent =
'Sharing this message with us helps a lot in debugging. You can also reset Bonjourr (back up your settings first ⚠️), or close this window if you think it is a false alert.'
'Sharing this message with us helps a lot in debugging. You can also reset Bonjourr, or close this window for now if you think it is a false alert.'

explain.className = 'error-explain'

Expand Down
9 changes: 5 additions & 4 deletions src/styles/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -865,10 +865,11 @@
flex-direction: column;
justify-content: center;
align-items: center;
top: 100px;
left: 100px;
width: 500px;
padding: 100px;
top: 5%;
left: 5%;
width: calc(90% - 100px);
max-width: 500px;
padding: 50px;
opacity: 0;
color: #fff;
border-radius: 20px;
Expand Down

0 comments on commit ead3ef6

Please sign in to comment.