Fix error-modal filling up the whole screen (#1298)

## Description:

Fixes https://github.com/openfrontio/OpenFrontIO/issues/1279
Now text element is limited to max height of 400px.


https://github.com/user-attachments/assets/7b95a105-f329-4f8c-b3a5-1a69f29d189d

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

fraxx.
This commit is contained in:
Rokas Leonavičius
2025-06-30 18:54:31 +03:00
committed by GitHub
parent 4fc1175ad4
commit a0c13c5457
+1
View File
@@ -483,6 +483,7 @@ label.option-card:hover {
overflow-y: auto;
white-space: pre-wrap;
word-wrap: break-word;
max-height: 400px;
}
#error-modal button.copy-btn {