diff --git a/src/styles/globals.scss b/src/styles/globals.scss index a87f1c888b1382564197a669d60af866d0875ceb..0eb68c04206aabba1cd4fb652f659037bfd8cf6a 100644 --- a/src/styles/globals.scss +++ b/src/styles/globals.scss @@ -89,6 +89,11 @@ $link-decoration: none; } } +// Prevent background scrolling while modal is open +html:has(> body.modal-open) { + overflow: hidden; +} + // table td, tr .table> :not(caption)>*>* { background-color: inherit; // this fixes tables messing up background colors of parent elements @@ -152,6 +157,14 @@ $link-decoration: none; --toastify-toast-width: 600px; } +.tooltip { + --bs-tooltip-max-width: 30em; +} + +.white-space-pre-wrap { + white-space: pre-wrap !important; +} + .sneak-100-input { border: 0;