File tree Expand file tree Collapse file tree 3 files changed +39
-2
lines changed
templates/settings/tokens Expand file tree Collapse file tree 3 files changed +39
-2
lines changed Original file line number Diff line number Diff line change 4
4
}
5
5
6
6
.form-group-name {
7
- display : block;
7
+ display : flex;
8
+ gap : var (--space-2xs );
8
9
margin-bottom : var (--space-2xs );
9
10
font-weight : 600 ;
10
11
}
11
12
13
+ .help-link {
14
+ flex-shrink : 0 ;
15
+ color : var (--grey600 );
16
+ padding : var (--space-3xs );
17
+ margin : calc (-1 * var (--space-3xs ));
18
+
19
+ & : hover {
20
+ color : var (--grey700 );
21
+ }
22
+
23
+ svg {
24
+ width : 1em ;
25
+ height : 1em ;
26
+ }
27
+ }
28
+
29
+ .hidden-label {
30
+ composes : sr-only from '../../shared/a11y.module.css' ;
31
+ }
32
+
12
33
.form-group-error {
13
34
display : block;
14
35
color : red;
Original file line number Diff line number Diff line change 27
27
</div >
28
28
29
29
<div local-class =" form-group" data-test-scopes-group>
30
- <div local-class =" form-group-name" >Scopes</div >
30
+ <div local-class =" form-group-name" >
31
+ Scopes
32
+
33
+ <a
34
+ href =" https://rust-lang.github.io/rfcs/2947-crates-io-token-scopes.html"
35
+ target =" _blank"
36
+ rel =" noopener noreferrer"
37
+ local-class =" help-link"
38
+ >
39
+ <span local-class =" hidden-label" >Help</span >
40
+ {{ svg-jar " circle-question" }}
41
+ </a >
42
+ </div >
31
43
32
44
<ul role =" list" local-class =" scopes-list {{ if this.scopesInvalid " invalid" }} " >
33
45
{{ #each this.ENDPOINT_SCOPES as |scope |}}
You can’t perform that action at this time.
0 commit comments