File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 113
113
114
114
<div local-class =" actions" >
115
115
{{ #unless token.isExpired }}
116
+ <LinkTo
117
+ @route =" settings.tokens.new"
118
+ @query ={{ hash from =token.id }}
119
+ local-class =" regenerate-button"
120
+ data-test-regenerate-token-button
121
+ >
122
+ Regenerate
123
+ </LinkTo >
116
124
<button
117
125
type =" button"
118
126
local-class =" revoke-button"
Original file line number Diff line number Diff line change 89
89
border-radius : var (--space-3xs );
90
90
}
91
91
92
+ .regenerate-button {
93
+ composes : yellow-button small from '../../styles/shared/buttons.module.css' ;
94
+ flex-grow : 1 ;
95
+ border-radius : var (--space-3xs );
96
+ }
97
+
92
98
.new-token {
93
99
margin-top : var (--space-s );
94
100
}
190
196
}
191
197
192
198
.actions {
199
+ display : flex;
200
+ flex-direction : column;
193
201
grid-area : actions;
194
202
align-self : start;
195
203
margin : 0 0 0 var (--space-xs );
196
204
}
197
205
206
+ .actions > * {
207
+ flex-grow : 1 ;
208
+ width : 100% ;
209
+ margin-top : var (--space-xs );
210
+ }
211
+
198
212
.new-token {
199
213
grid-area : details;
200
214
margin-bottom : 0 ;
You can’t perform that action at this time.
0 commit comments