-
Notifications
You must be signed in to change notification settings - Fork 12
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: audio pci controls fliped for RTL #290
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job.
Some minor change to nail it. 💪
views/js/pciCreator/dev/audioRecordingInteraction/runtime/scss/audioRecordingInteraction.scss
Show resolved
Hide resolved
@include rtl { | ||
margin: 10px 0 10px 10px; | ||
display: flex; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you try to move the display: flex
rule to the .audiorec-control
parent?
This change should avoid the size jump when we switch the direction.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parent already has display: flex
, applying it here acts over the text
and the svg
image, if removed those two don't flip... but you're right there is a small jump in size, need to look into that...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- New code is covered by tests (if applicable)
- Tests are running successfully (old and new ones) on my local machine (if applicable)
- New code is respecting code style rules
- New code is respecting best practices
- New code is not subject to concurrency issues (if applicable)
- Feature is working correctly on my local machine (if applicable)
- Acceptance criteria are respected
- Pull request title and description are meaningful
Version
There are 0 BREAKING CHANGE, 0 feature, 4 fixes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Review Checklist
- New code is covered by tests (if applicable)
- Tests are running successfully (old and new ones) on my local machine (if applicable)
- New code is respecting code style rules
- New code is respecting best practices
- New code is not subject to concurrency issues (if applicable)
- Feature is working correctly on my local machine (if applicable)
- Acceptance criteria are respected
- Pull request title and description are meaningful
- Pull request's target is not
master
- Commits are following conventional commits
- Commits messages are meaningful
- Commits are atomic
- Changelog is updated according to changes (if applicable)
- Documentation is updated according to changes (if applicable)
Related to Issue: https://oat-sa.atlassian.net/browse/AUT-2009
Fix : Audio PCI controls should be on the left even in RTL
SETPS to test:
• Checkout to branch: fix/AUT-2009/audio-pci-flipped
• Run taoUpdate.php
• Create an item and add an audio interaction
• Set the language to a RTL one (e.g. Arab)
ACTUAL RESULT:
Audio pci controls show on the right side
EXPECTED RESULT:
The audio controls show on the Left, the same way as in LTR