Created
May 25, 2021 05:23
-
-
Save lukethacoder/76961dd0a615c3222972ce0a6cdb9156 to your computer and use it in GitHub Desktop.
Show the hidden aura based errors within a Salesforce Community (errors are never logged to the console)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Allows devs to see errors that probably should be logged to the console but aren't */ | |
.auraErrorBox { | |
width: 100%; | |
} | |
.auraErrorBox > span { | |
display: flex; | |
align-items: center; | |
font-weight: 700; | |
margin-bottom: 8px; | |
} | |
.auraForcedErrorBox { | |
display: flex !important; | |
position: fixed; | |
top: 0; | |
left: 0; | |
width: 100%; | |
background: #ca1736; | |
padding: 16px; | |
z-index: 100000000; | |
color: #ffffff; | |
font-family: 'Roboto', sans-serif; | |
font-size: 1rem; | |
} | |
#auraErrorMessage { | |
white-space: break-spaces; | |
width: 100%; | |
} | |
#dismissError { | |
display: flex; | |
padding: 0px; | |
background-color: #ffffff; | |
width: 36px; | |
height: 36px; | |
border: 3px solid #222222; | |
color: #222222; | |
justify-content: center; | |
align-items: center; | |
font-weight: 700; | |
font-size: 2rem; | |
margin-right: 8px; | |
} | |
.auraErrorFooter { | |
margin-top: 8px; | |
display: flex; | |
justify-content: flex-end; | |
} | |
.auraErrorFooter a { | |
padding: 4px 12px; | |
background-color: #ffffff; | |
border: 3px solid #222222; | |
color: #222222; | |
text-transform: uppercase; | |
font-weight: 700; | |
font-size: 14px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
preview of error message