mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
make error message more user-friendly (#812)
* make error message more user-friendly * tweak aria * override user-select for error splash screen * localize messages * fix naming * log error * include spaces in i18n
This commit is contained in:
parent
56a2f8f15f
commit
3bf3d96d9f
4 changed files with 46 additions and 20 deletions
|
@ -250,6 +250,7 @@ button,
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
user-select: text;
|
||||
|
||||
.ErrorSplash-messageContainer {
|
||||
display: flex;
|
||||
|
@ -264,8 +265,11 @@ button,
|
|||
|
||||
.ErrorSplash-paragraph {
|
||||
margin: 15px 0;
|
||||
text-align: center;
|
||||
max-width: 600px;
|
||||
|
||||
&.align-center {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.bigger,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue