File tree Expand file tree Collapse file tree 2 files changed +22
-15
lines changed Expand file tree Collapse file tree 2 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 71
71
{{ token.name }}
72
72
</h3 >
73
73
74
- <div title ={{ token.last_used_at }} local-class =" last-used-at" data-test-last-used-at>
75
- {{ #if token.last_used_at }}
76
- Last used {{ date-format-distance-to-now token.last_used_at addSuffix =true }}
77
- {{ else }}
78
- Never used
79
- {{ /if }}
80
- </div >
74
+ <div local-class =" metadata" >
75
+ <div title ={{ token.last_used_at }} local-class =" last-used-at" data-test-last-used-at>
76
+ {{ #if token.last_used_at }}
77
+ Last used {{ date-format-distance-to-now token.last_used_at addSuffix =true }}
78
+ {{ else }}
79
+ Never used
80
+ {{ /if }}
81
+ </div >
81
82
82
- <div title ={{ token.created_at }} local-class =" created-at" data-test-created-at>
83
- Created {{ date-format-distance-to-now token.created_at addSuffix =true }}
83
+ <div title ={{ token.created_at }} local-class =" created-at" data-test-created-at>
84
+ Created {{ date-format-distance-to-now token.created_at addSuffix =true }}
85
+ </div >
84
86
</div >
85
87
86
88
{{ #if token.token }}
Original file line number Diff line number Diff line change 35
35
}
36
36
37
37
.name {
38
- margin : 0 0 12 px ;
38
+ margin : 0 0 var ( --space-s ) ;
39
39
font-weight : 500 ;
40
40
}
41
41
42
42
.dates {
43
43
}
44
44
45
- .created-at ,
46
- .last-used-at {
45
+ .metadata {
47
46
composes : small from '../../styles/shared/typography.module.css' ;
48
- margin-top : 4px ;
47
+
48
+ > * + * {
49
+ margin-top : var (--space-3xs );
50
+ }
49
51
}
50
52
51
53
.new-token-form {
168
170
display : grid;
169
171
grid-template :
170
172
"name actions" auto
171
- "last-user actions" auto
172
- "created-at actions" auto
173
+ "metadata actions" auto
173
174
"details details" auto
174
175
/ 1fr auto;
175
176
177
+ .metadata {
178
+ grid-area : metadata;
179
+ }
180
+
176
181
.actions {
177
182
grid-area : actions;
178
183
align-self : start;
You can’t perform that action at this time.
0 commit comments