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

When I choose the alignment full option with any size option for a photo, it goes outside the block. #5936

Open
danielnabil opened this issue Mar 31, 2024 · 4 comments
Labels
01 type: bug 30 needs: triage New issue that needs confirmation before work begins

Comments

@danielnabil
Copy link

Describe the bug
When adding an image to a block and selecting the full alignment option, regardless of the image size, it goes outside the block. Even when I try to drag it, it overlaps with the sidebar.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Page'
  2. Click on 'Add Photo'
  3. From Side Bar choose alignment option
  4. See error

Expected behavior
It depends on the UI/UX but as a user I expect to be the same as center large option.

Screenshots
WhatsApp Image 2024-04-01 at 01 06 49_fef160b2

Drag
WhatsApp Image 2024-04-01 at 01 07 17_7ca2763b

Software (please complete the following information):

  • OS: [Ubuntu]
  • Browser [chrome, Firefox]
  • Volto Version [18.0.0-alpha.25]
  • Plone Version [6.0.10]
  • Plone REST API Version [9.5.0]

Additional context
I'm unsure if the "full" alignment option is usable, and whether it's redundant for large and center alignments. If anyone has a clear opinion on this issue, please let me know.

@stevepiercy
Copy link
Collaborator

I think this issue is either related to, or a duplicate of, #5922.

@danielnabil
Copy link
Author

@stevepiercy Before creating this issue, I searched for alignment issues and got this issue. However, in my issue, I am particularly concerned about the alignment full option, which results in the full-width image issue not wrapping within the block issue but overlapping with the sidebar instead. Thank you for your insights.

@danielnabil
Copy link
Author

@stevepiercy I would like to work on this issue. Could you please clarify whether it is an issue or if it serves a purpose for the users?

@stevepiercy stevepiercy added the 30.1 needs: confirmation An old issue that needs to be reviewed for whether it still exists. label Apr 1, 2024
@stevepiercy
Copy link
Collaborator

@danielnabil someone from the Volto Team will review this issue report when they have some time available. No need to tag individuals.

@stevepiercy stevepiercy added 30 needs: triage New issue that needs confirmation before work begins and removed 30.1 needs: confirmation An old issue that needs to be reviewed for whether it still exists. labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 type: bug 30 needs: triage New issue that needs confirmation before work begins
Projects
None yet
Development

No branches or pull requests

2 participants