-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UI] Form heading much shorter than needed #8980
Comments
@jonasraoni, is this a showstopper, or just annoying? Wondering whether to schedule for 3.4.0-0 or a subsequent build. |
It's not important, I was just navigating on this interface to inspect a fatal error (#8975) and flagged the issues that I saw. |
This was happening in chrome based browsers as it does not support the css property To address it I added fallback float properties that are widely supported. In similar situation in future its better to move the layout from float to flex as flex has good support for RTL languages out of the box. But to keep the changes simple for now I sticked with float. PRs: |
@asmecher @Vitaliy-1 Not sure whether its too late for it, but maybe this could be considered for 3.4.0-2. It affects quite a lot of screens - its just layout.. but still quite significant. Including multilingual forms that looks broken. It affects all chrome based browsers, which is also quite significant. I did test the changes carefully... |
Looks good! Just a comment regarding commenting and it's ready to go to the stable and main.
At the time of development, flex was too young standard to adopt without consequences (in terms of browser support). We can decide to heighten the requirements as it's quite mature enough now. Edit sorry, was thinking about grid layout. |
…the low browser support.
@Vitaliy-1 Good feedback, thanks. I end up removing both comment and the original inline-start as you pointed out it will take long time before that has good browser support. And reason for change is in commit message, which also reference this issues for more details, so I think that should be sufficient. |
Thanks, and agreed, this is a good candidate for 3.4.0. @Vitaliy-1 and @jardakotesovec, I'll leave this to you two to merge and port when you're both ready. |
pkp/pkp-lib#8980 Add fallbacks for float inline-start due limited bro…
…the low browser support.
@asmecher @Vitaliy-1 Its now merged to 3.4.0 and cherry-picked for main. |
Excellent, thanks! |
Describe the bug
There are some headers enclosed with a
.pkpFormGroup__heading
, which limits the width in 30% (it should probably be used together with something else consuming the remaining70%
), which breaks texts in an unexpected way.It's needed to inspect other usages across the codebase to define if it's a bug or a class misuse.
To Reproduce
Steps to reproduce the behavior:
What application are you using?
OJS 3.4rc2
Additional information
The text was updated successfully, but these errors were encountered: