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

chore: remove trailing spaces in home #2954

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .vitepress/theme/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ onMounted(load)
<a class="setup" href="/guide/quick-start.html">Install</a>
<a class="security" href="https://v2.vuejs.org/eol/" target="_blank">
Get Security Updates for Vue 2
<svg
<svg
class="icon"
xmlns="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
>
<path
<path
d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"
/>
</svg>
Expand Down Expand Up @@ -158,18 +158,18 @@ html:not(.dark) .accent,
}

.actions .security {
background: linear-gradient(var(--vt-c-bg-mute), var(--vt-c-bg-mute)) padding-box,
background: linear-gradient(var(--vt-c-bg-mute), var(--vt-c-bg-mute)) padding-box,
linear-gradient(45deg, #42d392, #647eff) border-box;
border: 2px solid transparent;
}

.actions .security:hover {
background: linear-gradient(var(--vt-c-gray-light-4), var(--vt-c-gray-light-4)) padding-box,
background: linear-gradient(var(--vt-c-gray-light-4), var(--vt-c-gray-light-4)) padding-box,
linear-gradient(45deg, #42d392, #647eff) border-box;
}

.dark .actions .security:hover {
background: linear-gradient(var(--vt-c-gray-dark-3), var(--vt-c-gray-dark-3)) padding-box,
background: linear-gradient(var(--vt-c-gray-dark-3), var(--vt-c-gray-dark-3)) padding-box,
linear-gradient(45deg, #42d392, #647eff) border-box;
}

Expand Down