Skip to content

Commit 510069f

Browse files
committed
trustpub: Improve form layout and styling for trusted publisher creation
1 parent a8ab92c commit 510069f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
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: 2 additions & 2 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>

0 commit comments

Comments
 (0)