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

Reinstate the back button on tutorials #1470

Merged
merged 5 commits into from
Nov 5, 2024
Merged

Conversation

ernstmul
Copy link
Contributor

What does this PR do?

Brings back the back button on tutorial pages that have it in the markdoc:
image

Have you read the Contributing Guidelines on issues?

Comment on lines 60 to 62
class="
web-button is-text is-only-icon web-u-cross-center web-u-size-40
u-position-absolute u-inset-inline-start-0 -translate-x-1/2"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is all this extra spacing intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've reverted it from how it was before. I only switch the 100% negative translateX (from pink v1 class) to the Tailwind -translate-x-1/2 so it visually looks as in the design.

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant the indentation in the code itself:

                            class="
						web-button is-text is-only-icon web-u-cross-center
						web-is-not-mobile -translate-x-1/2"

instead of something like:

                            class="web-button is-text is-only-icon web-u-cross-center
					web-is-not-mobile -translate-x-1/2"

Copy link
Contributor

@stnguyen90 stnguyen90 left a comment

Choose a reason for hiding this comment

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

Feel free to merge if the spacing is expected.

@ernstmul ernstmul merged commit 7731173 into main Nov 5, 2024
1 check passed
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