Skip to content
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

Display block is hardcoded. #92

Closed
SicorDev opened this issue May 8, 2024 · 5 comments
Closed

Display block is hardcoded. #92

SicorDev opened this issue May 8, 2024 · 5 comments

Comments

@SicorDev
Copy link

SicorDev commented May 8, 2024

Hello,

our Design would require display:flex instead of display:block for showing hidden input fields.
Maybe you can make that configurable?
I'm sure other users would also require flex or grid eventually :-)

Greetings,
Manuel

@sbusemann sbusemann added this to the investigation milestone May 8, 2024
@sbusemann
Copy link
Collaborator

Can you please state where this should be?

I can only find display none

@tantebootsy
Copy link

tantebootsy commented Aug 14, 2024

I also need display:flex instead of display:block in some cases. E.g. if you use Bootstrap with "form-horizontal" the wrapper for the div holding the label and input-fields is set to flex. This is to set the input-field besides the label not beyond. display:block breaks the layout here, leading the input-field to move to a new line. Best thing would be to analyse the display-property of every single element before it gets hidden and then write back the individual property of every element, when it shall get shown again.
I would like to have a look in the JS-code but it's obfuscated. Can you provide the source-files? Maybe I could then propose a patch.

@Patta
Copy link
Contributor

Patta commented Aug 14, 2024

@Patta
Copy link
Contributor

Patta commented Aug 14, 2024

seems already fixed in v11 (for typo3 v12) a281ec7

@tantebootsy
Copy link

ah, alright. of course that's a much simpler solution. :) thx for pointing me to this. i think this issue can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants