Skip to content

Commit 1b4e1cc

Browse files
committed
Update CSS and StackTable
1 parent a223216 commit 1b4e1cc

File tree

9 files changed

+135
-131
lines changed

9 files changed

+135
-131
lines changed

.github/workflows/lint.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
uses: actions/setup-node@v5
2323
with:
2424
node-version: 22
25-
#cache: npm
2625

2726
- name: "Install"
2827
run: |

.vitepress/theme/components/StackTable.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function getType(type) {
4141
<td class="repository">
4242
<a :href="`https://github.com/${repo}`" :title="repo" target="_blank" rel="noopener">{{ repo }}</a>
4343
</td>
44-
<td colspan="center">{{ getType(type) }}</td>
44+
<td class="center">{{ getType(type) }}</td>
4545
<td class="center">
4646
<a :href="`https://github.com/${repo}/stargazers`" target="_blank" rel="noopener">
4747
<img alt="S" :src="getLink('stars', repo)" style="margin-right: 4px"
@@ -92,6 +92,7 @@ function getType(type) {
9292
padding: 4px;
9393
}
9494
.stack-table img {
95+
display: inline-block;
9596
height: auto;
9697
width: auto;
9798
max-width: none;

.vitepress/theme/custom.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ table th {
2424
text-wrap: nowrap;
2525
}
2626

27-
.vp-doc img {
28-
display: inline-block;
29-
margin-right: 8px;
30-
}
31-
3227
.search-keywords {
3328
display: none;
3429
}
@@ -41,3 +36,9 @@ table th {
4136
}
4237
}
4338
}
39+
40+
.vp-doc p > img,
41+
.vp-doc p > a > img {
42+
display: inline-block;
43+
margin-right: 8px;
44+
}

.vitepress/theme/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default {
2323
app.component('YouTubeEmbed', YouTubeEmbed)
2424

2525
app.component('CB', CopyButton)
26+
2627
app.component('Contributors', Contributors)
2728
app.config.globalProperties.$contributors = contributors
2829
},

docs/docs/inputs.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@
44

55
<div class="table-inputs">
66

7-
| Input&nbsp;Name | Default&nbsp;Value | Short&nbsp;Description&nbsp;of&nbsp;the&nbsp;Input&nbsp;Value |
8-
| :------------------------------------------- | :---------------------------------- | :------------------------------------------------------------ |
9-
| [name](#name) **\*** <CB /> | - | Docker Stack/Project Name |
10-
| [file](#file) <CB /> | `docker-compose.yaml` | Docker Stack/Compose File(s) |
11-
| [mode](#mode) **¹** <CB /> | `swarm` | Deploy Mode [`swarm`, `compose`] |
12-
| [args](#args) **¹** <CB /> | `--remove-orphans --force-recreate` | Additional **Compose** Arguments |
13-
| [host](#host) **\*** <CB /> | - | Remote Docker Hostname or IP |
14-
| [port](#port) <CB /> | `22` | Remote Docker Port |
15-
| [user](#user) **\*** <CB /> | - | Remote Docker Username |
16-
| [pass](#pass) **\*** <CB /> | - | Remote Docker Password |
17-
| [ssh_key](#ssh_key) **\*** <CB /> | - | Remote SSH Key File |
18-
| [disable_keyscan](#disable_keyscan) <CB /> | `false` | Disable SSH Keyscan `ssh-keyscan` |
19-
| [env_file](#env_file) <CB /> | - | Exported Environment File |
20-
| [detach](#detach) **²** <CB /> | `true` | Detach Flag, `false`, to disable |
21-
| [prune](#prune) **²** <CB /> | `false` | Prune Flag, `true`, to enable |
22-
| [resolve_image](#resolve_image) **²** <CB /> | `always` | Resolve [`always`, `changed`, `never`] |
23-
| [registry_auth](#registry_auth) **²** <CB /> | `false` | Enable Registry Authentication |
24-
| [registry_host](#registry_host) <CB /> | - | Registry Authentication Host |
25-
| [registry_user](#registry_user) <CB /> | - | Registry Authentication Username |
26-
| [registry_pass](#registry_pass) <CB /> | - | Registry Authentication Password |
27-
| [summary](#summary) <CB /> | `true` | Add Job Summary |
7+
| Input&nbsp;Name | Default&nbsp;Value | Short&nbsp;Description |
8+
| :------------------------------------------- | :---------------------------------- | :------------------------------------- |
9+
| [name](#name) **\*** <CB /> | - | Docker Stack/Project Name |
10+
| [file](#file) <CB /> | `docker-compose.yaml` | Docker Stack/Compose File(s) |
11+
| [mode](#mode) **¹** <CB /> | `swarm` | Deploy Mode [`swarm`, `compose`] |
12+
| [args](#args) **¹** <CB /> | `--remove-orphans --force-recreate` | Additional **Compose** Arguments |
13+
| [host](#host) **\*** <CB /> | - | Remote Docker Hostname or IP |
14+
| [port](#port) <CB /> | `22` | Remote Docker Port |
15+
| [user](#user) **\*** <CB /> | - | Remote Docker Username |
16+
| [pass](#pass) **\*** <CB /> | - | Remote Docker Password |
17+
| [ssh_key](#ssh_key) **\*** <CB /> | - | Remote SSH Key File |
18+
| [disable_keyscan](#disable_keyscan) <CB /> | `false` | Disable SSH Keyscan `ssh-keyscan` |
19+
| [env_file](#env_file) <CB /> | - | Exported Environment File |
20+
| [detach](#detach) **²** <CB /> | `true` | Detach Flag, `false`, to disable |
21+
| [prune](#prune) **²** <CB /> | `false` | Prune Flag, `true`, to enable |
22+
| [resolve_image](#resolve_image) **²** <CB /> | `always` | Resolve [`always`, `changed`, `never`] |
23+
| [registry_auth](#registry_auth) **²** <CB /> | `false` | Enable Registry Authentication |
24+
| [registry_host](#registry_host) <CB /> | - | Registry Authentication Host |
25+
| [registry_user](#registry_user) <CB /> | - | Registry Authentication Username |
26+
| [registry_pass](#registry_pass) <CB /> | - | Registry Authentication Password |
27+
| [summary](#summary) <CB /> | `true` | Add Job Summary |
2828

2929
</div>
3030

docs/guides/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ You can disable them by passing an empty string. For more details, see the compo
6969
For more examples, you can check out other projects using this action:
7070
https://github.com/cssnr/stack-deploy-action/network/dependents
7171

72-
<style module>
72+
<style>
7373
summary {
7474
color: var(--vp-c-brand-1);
7575
}

docs/guides/get-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ If using the [env_file](https://docs.docker.com/compose/how-tos/environment-vari
4949
The workflow runs based on the [events](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows) defined in the `on:` parameter.
5050
If using the `workflow_dispatch` trigger you can [manually run the job](https://docs.github.com/en/actions/how-tos/manage-workflow-runs/manually-run-a-workflow) at any time.
5151

52+
You can also view usage [Examples](examples.md).
53+
5254
<div class="tip custom-block" style="padding-top: 8px">
5355

5456
See the [Inputs Documentation](../docs/inputs.md) for more options and detailed usage.

0 commit comments

Comments
 (0)