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

🐛 Fixed Portal icon misaligned in Preview #19723

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

ronaldlangeveld
Copy link
Member

no issue

  • because we use hidden here, it prevents the Portal iFrame from calculating the width and position correctly on the initial load.
  • Changing it to invisible allows it to do the calculation correctly.
  • Also had to reposition the loading indicator.

no issue

- because we use hidden here, it prevents the Portal iFrame from calculating the width and position correctly on the initial load.
- Changing it to `invisible` allows it to do the calculation correctly.
- Also had to reposition the loading indicator.
@ronaldlangeveld ronaldlangeveld changed the title 🐛 Fixed Portal icon misalligned in Preview 🐛 Fixed Portal icon misaligned in Preview Feb 21, 2024
@github-actions github-actions bot added the affects:admin Anything relating to Ghost Admin label Feb 21, 2024
@vershwal
Copy link
Member

LGTM
Using 'invisible' is a good idea. Although the element is not visible to the user, it still maintain the layout of the page.

@ronaldlangeveld ronaldlangeveld merged commit c64c0c2 into main Feb 21, 2024
18 checks passed
@ronaldlangeveld ronaldlangeveld deleted the fix-portal-icon-mis-aligned branch February 21, 2024 11:22
royalfig pushed a commit that referenced this pull request Mar 25, 2024
no issue

- because we use hidden here, it prevents the Portal iFrame from
calculating the width and position correctly on the initial load.
- Changing it to `invisible` conditionally allows it to do the calculation correctly.
- Also had to reposition the loading indicator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects:admin Anything relating to Ghost Admin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants