-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 line break before "external link icon" #1864
Comments
hey, is it broken anywhere except the sidebar? |
Haven't found anything else. It's not really broken but unexpected formatting. |
/cc @kiaking We currently have vitepress/src/client/theme-default/components/VPSidebarItem.vue Lines 58 to 60 in f974381
I don't think we can move svg inside the text tag. We however can have something like this using flex (external link icons are right aligned): Created #1880, have a look. Any better solution where we can have it like it was earlier (just after the text end)? |
Describe the bug
Since 1.0.0-alpha.41, there is a line break before the external link icon (arrow right up) for links going to other websites.
Reproduction
.
Expected behavior
Having it inline with the title of that link.
System Info
.
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: