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

[BUGFIX] Dynamically add a spacer to the top of the page #729

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

webian
Copy link
Collaborator

@webian webian commented Sep 28, 2023

This spacer is needed if there's not enough space between the top of the page and the first editable element to allow the inline actions toolbar of this first editable CE to be visible. Without the spacer, in this use case, the inline actions toolbar is hidden under the module doc header.

The code must be placed in .on('load') of inline_editing.css so the inline actions toolbar has its style applied and its height and position can be retrieved correctly.

Resolves: #728

This spacer is needed if there's not enough space between the top of the page and the first editable element to allow the inline actions toolbar of this first editable CE to be visible. Without the spacer, in this use case, the inline actions toolbar is hidden under the module doc header.

The code must be placed in .on('load') of inline_editing.css so the inline actions toolbar has its style applied and its height and position can be retrieved correctly.

Resolves: FriendsOfTYPO3#728
@webian
Copy link
Collaborator Author

webian commented Sep 28, 2023

@EcoGabe please test this in your use cases and let me know.

Copy link
Contributor

@EcoGabe EcoGabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes are working on my end👍

@MattiasNilsson MattiasNilsson merged commit 5d0d821 into FriendsOfTYPO3:master Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spacer removed but still needed
3 participants