mirror of https://github.com/zulip/zulip.git
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:
parent
8c047275a4
commit
39255a5ed0
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue