From 34b2e6175d9a197f5a612158ac4798e7007241b6 Mon Sep 17 00:00:00 2001 From: skirtle <65301168+skirtles-code@users.noreply.github.com> Date: Wed, 4 Jan 2023 04:02:10 +0000 Subject: [PATCH] Minor changes suggested by Prettier --- .vitepress/theme/components/SponsorsGroup.vue | 2 +- .vitepress/theme/components/VueJobs.vue | 22 +++++++++---------- .vitepress/theme/styles/vue-mastery.css | 6 ++--- src/about/team/TeamHero.vue | 2 +- .../built-ins/keep-alive-demos/CompA.vue | 2 +- .../built-ins/keep-alive-demos/CompB.vue | 2 +- .../transition-demos/CssAnimation.vue | 2 +- src/guide/extras/demos/SpreadSheet.vue | 2 +- src/guide/scaling-up/TestingApiSwitcher.vue | 22 +++++++------------ 9 files changed, 28 insertions(+), 34 deletions(-) diff --git a/.vitepress/theme/components/SponsorsGroup.vue b/.vitepress/theme/components/SponsorsGroup.vue index 7900489b2f..07ae69aa62 100644 --- a/.vitepress/theme/components/SponsorsGroup.vue +++ b/.vitepress/theme/components/SponsorsGroup.vue @@ -1,6 +1,6 @@ @@ -44,7 +43,7 @@ const testingLangs = [ flex-direction: column; } -.code-example :slotted([class*=language]) { +.code-example :slotted([class*='language']) { margin-top: 0; border-top-left-radius: 0; } @@ -57,7 +56,7 @@ const testingLangs = [ .tab { color: white; background: #292d3ef0; - border-bottom-color: rgba(255,255,255,0.3); + border-bottom-color: rgba(255, 255, 255, 0.3); padding: 6px 24px; border-width: 2px; border-style: solid; @@ -65,11 +64,7 @@ const testingLangs = [ border-right: transparent; border-left: transparent; cursor: pointer; - transition: border, background-color .2s; - transition-property: border, background-color; - transition-duration: 0.2s, 0.2s; - transition-timing-function: ease, ease; - transition-delay: 0s, 0s; + transition: border 0.2s, background-color 0.2s; } .tab.active { @@ -102,7 +97,7 @@ const testingLangs = [ } :global(.dark .testing-code-examples .tab:not(.active)) { - border-bottom: 2px solid rgba(255,255,255,.2); + border-bottom: 2px solid rgba(255, 255, 255, 0.2); background: #2f2f2f; color: inherit; } @@ -112,7 +107,7 @@ const testingLangs = [ } /* Show/Hide logic for codeblocks */ -:slotted([class$="api"]) { +:slotted([class$='api']) { display: none; } @@ -121,5 +116,4 @@ const testingLangs = [ .prefers-vtu-api :slotted(.vtu-api) { display: block; } -