Skip to content

Commit 0e32084

Browse files
authored
Merge pull request #11509 from Turbo87/trustpub-form
trustpub: Improve config creation form
2 parents 1c7342c + 510069f commit 0e32084

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

app/styles/crate/settings/new-trusted-publisher.module.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
.form {
2+
max-width: 600px;
3+
margin: var(--space-m) auto;
4+
}
5+
16
.form-group, .buttons {
27
margin: var(--space-m) 0;
38
}
49

510
.publisher-select {
6-
max-width: 440px;
11+
max-width: 600px;
712
width: 100%;
813
padding-right: var(--space-m);
914
background-image: url("/assets/dropdown.svg");
@@ -19,7 +24,7 @@
1924
}
2025

2126
.input {
22-
max-width: 440px;
27+
max-width: 600px;
2328
width: 100%;
2429
}
2530

app/templates/crate/settings/new-trusted-publisher.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<h2>Add a new Trusted Publisher</h2>
1+
<form local-class="form" {{on "submit" (prevent-default (perform this.saveConfigTask))}}>
2+
<h2>Add a new Trusted Publisher</h2>
23

3-
<form {{on "submit" (prevent-default (perform this.saveConfigTask))}}>
44
<div local-class="form-group">
55
{{#let (unique-id) as |id|}}
66
<label for={{id}} class="form-group-name">Publisher</label>
@@ -106,7 +106,7 @@
106106
</div>
107107
{{else}}
108108
<div local-class="note">
109-
The filename of the publishing workflow. This file should be present in the <code>.github/workflows/</code> directory of the repository configured above.
109+
The filename of the publishing workflow. This file should be present in the <code>.github/workflows/</code> directory of the repository configured above. For example: <code>release.yml</code> or <code>publish.yml</code>.
110110
</div>
111111
{{/if}}
112112
{{/let}}

0 commit comments

Comments
 (0)