-
Notifications
You must be signed in to change notification settings - Fork 203
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
Conversation
src/lib/layouts/DocsTutorial.svelte
Outdated
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" |
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.
Is all this extra spacing intended?
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.
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.
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.
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"
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.
Feel free to merge if the spacing is expected.
What does this PR do?
Brings back the back button on tutorial pages that have it in the markdoc:
Have you read the Contributing Guidelines on issues?
✅