Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniDigger committed Jul 20, 2024
1 parent 8a9496b commit 9921eae
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
9 changes: 7 additions & 2 deletions frontend/src/assets/css/markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
color: var(--alert-color, #444c56);

.dark & > svg {
fill: #E0E6f0;
fill: #e0e6f0;
}
}
}
Expand All @@ -145,7 +145,12 @@
}

summary {
h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
display: inline;
}
}
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/components/design/Tooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ onErrorCaptured((err) => {
</script>

<template>
<Popper :hover="hover" open-delay="200" close-delay="100" :show="show">
<slot />
<template #content>
<slot name="content" />
</template>
</Popper>
<Popper :hover="hover" open-delay="200" close-delay="100" :show="show">
<slot />
<template #content>
<slot name="content" />
</template>
</Popper>
</template>

<style>
Expand Down
11 changes: 6 additions & 5 deletions frontend/src/types/backend/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
The index.ts in this folder contains all necessary types for the backend communication, generated from an openapi spec.

To generate a new version of the types:
* first enabled fully qualified names in the backend (control + f "springdoc" -> comment in)
* then save http://localhost:8080/v3/api-docs/combined to `api.json`
* format with prettier
* run `node createApi.js` to generate the types
* format index.ts with prettier

- first enabled fully qualified names in the backend (control + f "springdoc" -> comment in)
- then save http://localhost:8080/v3/api-docs/combined to `api.json`
- format with prettier
- run `node createApi.js` to generate the types
- format index.ts with prettier
2 changes: 1 addition & 1 deletion frontend/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
// https://v3.nuxtjs.org/concepts/typescript
"extends": "./.nuxt/tsconfig.json",
"extends": "./.nuxt/tsconfig.json"
}

0 comments on commit 9921eae

Please sign in to comment.