portico_signin: Fix content wrapping too much.

Due to `max-width: min-content` being used and `min-width: max-content`
not being applied since it is not present outside of development
environment, the text wrapped after every word.

The intention of this CSS was to restrict the max-width of the
`white-box` and I think 800px is a good max-width after which
content should wrap.
This commit is contained in:
Aman Agrawal 2023-02-10 03:35:29 +00:00 committed by Tim Abbott
parent 8c047275a4
commit 39255a5ed0
1 changed files with 2 additions and 6 deletions

View File

@ -1288,12 +1288,8 @@ button#register_auth_button_gitlab {
word-break: break-all; word-break: break-all;
} }
@media (width >= 600px) { @media (width >= 800px) {
.account-creation .white-box { .account-creation .white-box {
max-width: min-content; max-width: 800px;
.alert-info {
min-width: max-content;
}
} }
} }