Skip to content

Commit

Permalink
adding distinct and clear message if connection is lost; addresses on…
Browse files Browse the repository at this point in the history
…e to do in #357
  • Loading branch information
LeaSeep committed Nov 5, 2024
1 parent 14bc24f commit 7896367
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions program/shinyApp/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,20 @@ ui <- shiny::fluidPage(
width: 90%;
max-width: 90%;
}
.shiny-disconnected-overlay {
background-color: black !important;
#shiny-disconnected-overlay {
background-color: grey;
opacity: 1;
z-index: 99999 !important;
}
#shiny-disconnected-overlay::after {
content: 'Connection lost. You need to refresh the page. You will need to start again. There can be multiple reasons, such as instable internet connection. If you reproduce this behaviour please report the steps/ clicks you took and report them! This would help all of us, developers, contributors and users <3';
color: white;
font-size: 20px;
position: absolute;
top: 50%; /* Center the text vertically */
left: 50%; /* Center the text horizontally */
transform: translate(-50%, -50%);
text-align: center;
}
#sidebar_data_selection {
background-color: #70BF4F47;
Expand Down

0 comments on commit 7896367

Please sign in to comment.