Skip to content

Commit a223216

Browse files
committed
Cleanup Styles
1 parent dae5301 commit a223216

File tree

3 files changed

+33
-25
lines changed

3 files changed

+33
-25
lines changed

docs/docs/inputs.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
💡 Click on the **Input Name** for more [Details](#details).
44

5+
<div class="table-inputs">
6+
57
| Input&nbsp;Name | Default&nbsp;Value | Short&nbsp;Description&nbsp;of&nbsp;the&nbsp;Input&nbsp;Value |
68
| :------------------------------------------- | :---------------------------------- | :------------------------------------------------------------ |
79
| [name](#name) **\*** <CB /> | - | Docker Stack/Project Name |
@@ -24,6 +26,8 @@
2426
| [registry_pass](#registry_pass) <CB /> | - | Registry Authentication Password |
2527
| [summary](#summary) <CB /> | `true` | Add Job Summary |
2628

29+
</div>
30+
2731
> **\* Required**, note [pass](#pass)/[ssh_key](#ssh_key) are mutually exclusive.
2832
> **¹ Compose Only**, view the [Compose Docs](https://docs.docker.com/reference/cli/docker/compose/up/)
2933
> **² Swarm Only**, view the [Swarm Docs](https://docs.docker.com/reference/cli/docker/stack/deploy/)
@@ -223,9 +227,13 @@ For more information see [Job Summary](../guides/features.md#job-summary).
223227

224228
Default: `true`
225229

226-
<style module>
227-
table td:nth-child(1),
228-
table td:nth-child(3) {
229-
white-space: nowrap;
230+
<style>
231+
.table-inputs td {
232+
padding: 8px 10px !important;
233+
}
234+
235+
.table-inputs td:nth-child(1),
236+
.table-inputs td:nth-child(3) {
237+
white-space: nowrap;
230238
}
231239
</style>

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 scoped>
72+
<style module>
7373
summary {
7474
color: var(--vp-c-brand-1);
7575
}

docs/index.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,26 @@ features:
3535
link: https://portainer-deploy.cssnr.com/
3636
---
3737

38+
<div class="badges">
39+
40+
---
41+
42+
[![GitHub Last Commit](https://img.shields.io/github/last-commit/cssnr/stack-deploy-action?logo=github&label=updated)](https://github.com/cssnr/stack-deploy-action)
43+
[![Docs Last Commit](https://img.shields.io/github/last-commit/cssnr/stack-deploy-docs?logo=vitepress&logoColor=white&label=docs)](https://github.com/cssnr/stack-deploy-docs)
44+
[![GitHub Contributors](https://img.shields.io/github/contributors/cssnr/stack-deploy-action?logo=github)](https://github.com/cssnr/stack-deploy-action/graphs/contributors)
45+
[![GitHub Repo Size](https://img.shields.io/github/repo-size/cssnr/stack-deploy-action?logo=bookstack&logoColor=white&label=size)](https://github.com/cssnr/stack-deploy-action?tab=readme-ov-file#readme)
46+
[![GitHub Top Language](https://img.shields.io/github/languages/top/cssnr/stack-deploy-action?logo=sharp&logoColor=white)](https://github.com/cssnr/stack-deploy-action/blob/master/src/main.sh)
47+
[![GitHub Discussions](https://img.shields.io/github/discussions/cssnr/stack-deploy-action?logo=github)](https://github.com/cssnr/stack-deploy-action/discussions)
48+
[![GitHub Forks](https://img.shields.io/github/forks/cssnr/stack-deploy-action?style=flat&logo=github)](https://github.com/cssnr/stack-deploy-action/forks)
49+
[![GitHub Repo Stars](https://img.shields.io/github/stars/cssnr/stack-deploy-action?style=flat&logo=github)](https://github.com/cssnr/stack-deploy-action/stargazers)
50+
[![GitHub Org Stars](https://img.shields.io/github/stars/cssnr?style=flat&logo=github&label=org%20stars)](https://cssnr.github.io/)
51+
[![Discord](https://img.shields.io/discord/899171661457293343?logo=discord&logoColor=white&label=discord&color=7289da)](https://discord.gg/wXy6m2X8wY)
52+
[![Ko-fi](https://img.shields.io/badge/Ko--fi-72a5f2?logo=kofi&label=support)](https://ko-fi.com/cssnr)
53+
54+
</div>
55+
56+
<Contributors :contributors="$contributors" heading="Contributors" margin="36px 0 96px" />
57+
3858
<style>
3959
div.badges {
4060
margin-top: 80px;
@@ -56,23 +76,3 @@ div.badges {
5676
transform: scale(1.05);
5777
}
5878
</style>
59-
60-
<div class="badges">
61-
62-
---
63-
64-
[![GitHub Last Commit](https://img.shields.io/github/last-commit/cssnr/stack-deploy-action?logo=github&label=updated)](https://github.com/cssnr/stack-deploy-action)
65-
[![Docs Last Commit](https://img.shields.io/github/last-commit/cssnr/stack-deploy-docs?logo=vitepress&logoColor=white&label=docs)](https://github.com/cssnr/stack-deploy-docs)
66-
[![GitHub Contributors](https://img.shields.io/github/contributors/cssnr/stack-deploy-action?logo=github)](https://github.com/cssnr/stack-deploy-action/graphs/contributors)
67-
[![GitHub Repo Size](https://img.shields.io/github/repo-size/cssnr/stack-deploy-action?logo=bookstack&logoColor=white&label=size)](https://github.com/cssnr/stack-deploy-action?tab=readme-ov-file#readme)
68-
[![GitHub Top Language](https://img.shields.io/github/languages/top/cssnr/stack-deploy-action?logo=sharp&logoColor=white)](https://github.com/cssnr/stack-deploy-action/blob/master/src/main.sh)
69-
[![GitHub Discussions](https://img.shields.io/github/discussions/cssnr/stack-deploy-action?logo=github)](https://github.com/cssnr/stack-deploy-action/discussions)
70-
[![GitHub Forks](https://img.shields.io/github/forks/cssnr/stack-deploy-action?style=flat&logo=github)](https://github.com/cssnr/stack-deploy-action/forks)
71-
[![GitHub Repo Stars](https://img.shields.io/github/stars/cssnr/stack-deploy-action?style=flat&logo=github)](https://github.com/cssnr/stack-deploy-action/stargazers)
72-
[![GitHub Org Stars](https://img.shields.io/github/stars/cssnr?style=flat&logo=github&label=org%20stars)](https://cssnr.github.io/)
73-
[![Discord](https://img.shields.io/discord/899171661457293343?logo=discord&logoColor=white&label=discord&color=7289da)](https://discord.gg/wXy6m2X8wY)
74-
[![Ko-fi](https://img.shields.io/badge/Ko--fi-72a5f2?logo=kofi&label=support)](https://ko-fi.com/cssnr)
75-
76-
</div>
77-
78-
<Contributors :contributors="$contributors" heading="Contributors" margin="36px 0 96px" />

0 commit comments

Comments
 (0)