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

align and caption #40

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

berlin2123
Copy link

add align and caption.

related to : #38 #39

Copy link
Member

@12rambau 12rambau left a comment

Choose a reason for hiding this comment

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

I checked the pre-build and it seems wrapping the video tags in a div is defaulting to center. Can you make sure that default remains consistently to the left ?

Can you add an example for each alignement so the users can feel the difference (and we can visually check it works as expected) ?

Can you regenerate the tests, adding the div is breaking every build.

sphinxcontrib/video.py Outdated Show resolved Hide resolved
sphinxcontrib/video.py Outdated Show resolved Hide resolved
sphinxcontrib/video.py Outdated Show resolved Hide resolved
@berlin2123 berlin2123 requested a review from 12rambau March 28, 2024 02:46
Comment on lines +115 to +116
For consistency with previous versions, which not support align, the default value of align 'left' when the it is not set.
If you want to use the 'default' defined by theme, you need to, manually, set it to 'default':
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
For consistency with previous versions, which not support align, the default value of align 'left' when the it is not set.
If you want to use the 'default' defined by theme, you need to, manually, set it to 'default':
For consistency with previous versions, which not support align, the default value of align is set to `left` when nothing is set.
If you want to use the alignment defined by your theme, you need to, manually, set it to `default`:

Copy link
Member

@12rambau 12rambau left a comment

Choose a reason for hiding this comment

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

@berlin2123 sorry for the long wait, all my OSS time was eaten up by another project. I would like to move forward with your PR, could you rebase it with the current main so I can merge it in the next release ?

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