File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 1
- .owners-header , . trusted-publishing- header {
1
+ .header {
2
2
display : flex;
3
3
justify-content : space-between;
4
4
align-items : center;
5
+ flex-wrap : wrap;
6
+ gap : var (--space-s );
7
+ margin : var (--space-m ) 0 ;
8
+
9
+ > h2 {
10
+ margin : 0 ;
11
+ }
5
12
}
6
13
7
14
.email-form {
Original file line number Diff line number Diff line change 2
2
3
3
<CrateHeader @crate ={{ this.crate }} />
4
4
5
- <div local-class =" owners- header" >
5
+ <div local-class =" header" >
6
6
<h2 >Owners</h2 >
7
7
{{ #unless this.addOwnerVisible }}
8
8
<button type =" button" class =" button button--small" data-test-add-owner-button {{ on " click" this.showAddOwnerForm }} >Add Owner</button >
56
56
57
57
{{! The "Trusted Publishing" section is hidden for now until we make this feature publicly available. }}
58
58
{{ #if this.githubConfigs }}
59
- <div local-class =" trusted-publishing- header" >
59
+ <div local-class =" header" >
60
60
<h2 >Trusted Publishing</h2 >
61
- <LinkTo @route =" crate.settings.new-trusted-publisher" class =" button button--small" data-test-add-trusted-publisher-button>
62
- Add
63
- </LinkTo >
61
+ <div >
62
+ <LinkTo @route =" docs.trusted-publishing" class =" button button--tan button--small" data-test-trusted-publishing-docs-button>
63
+ Learn more
64
+ </LinkTo >
65
+ <LinkTo @route =" crate.settings.new-trusted-publisher" class =" button button--small" data-test-add-trusted-publisher-button>
66
+ Add
67
+ </LinkTo >
68
+ </div >
64
69
</div >
65
70
66
71
<table local-class =" trustpub" data-test-trusted-publishing>
95
100
</table >
96
101
{{ /if }}
97
102
98
- <h2 >Danger Zone</h2 >
103
+ <h2 local-class = " header " >Danger Zone</h2 >
99
104
100
105
<div >
101
106
<LinkTo @route =" crate.delete" class =" button button--red" data-test-delete-button>
You can’t perform that action at this time.
0 commit comments