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

Fix many layouts glitches #2652

Merged
merged 15 commits into from
Dec 19, 2023

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Dec 19, 2023

What is this pull request for?

Over the last couple of weeks we made a lot of changes to our UI elements.
This fixes glitches this work introduced.

Best reviewed commit by commit.

Checklist

This was accidentally removed
We do not want to have a bottom border when element is collapsed.
Since elements can be nested a selector like this is hard to write.
Adding the border to the toolbar instead, since this is hidden if
element is collapsed.
Sometime on redraw (during dragndrop) the select does not have
the correct width anymore. Since we always want the choice to be as
wide as the container the fix is simple.
With the usage of Shoelace tabs we adjusted the padding of the
tabbed panels, but this is too high. Also we now highlight the
sortable elements area for which we need more padding now.
The thumbnail background color has changed to a light gray.
The spinner now needs to be dark again.
We most not use width 100% here. The svg already has the
fix.
If there is no language and no site select we need to move
the tooltip
We do not use jquery-ui-sortable anymore.
The padding will cut of content on headline ingredients
Sortable needs to be created for nested elements in a fixed element,
not the fixed element itself.
We need to calculate the height for fixed elements differently
than main content elements, because we want to fixate the tab
bar.
With many tags this list peaks out of the dialog.
It needs to be wrapped in a toolbar-button for the margin it needs.
@tvdeyen tvdeyen requested a review from a team December 19, 2023 17:02
@tvdeyen tvdeyen merged commit 10fb0e4 into AlchemyCMS:main Dec 19, 2023
31 checks passed
@tvdeyen tvdeyen deleted the adjust-elements-window-layout branch December 19, 2023 19:22
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.

2 participants