File tree Expand file tree Collapse file tree 2 files changed +27
-14
lines changed Expand file tree Collapse file tree 2 files changed +27
-14
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ button.selected {
283
283
.clip-table {
284
284
display : grid;
285
285
grid-template-columns : repeat (auto-fit, 10% );
286
- align-items : end ;
286
+ align-items : start ;
287
287
gap : 10px ;
288
288
}
289
289
@@ -296,6 +296,7 @@ button.selected {
296
296
297
297
.clip-table img {
298
298
width : 100% ;
299
+ height : 100% ;
299
300
object-fit : contain;
300
301
}
301
302
Original file line number Diff line number Diff line change @@ -161,25 +161,37 @@ export default ({
161
161
opFn ( collectionId , video . _id ) ;
162
162
} }
163
163
>
164
- < div className = { opClass } >
164
+ < div
165
+ className = { opClass }
166
+ style = { { height : '10vh' } }
167
+ >
165
168
< img
166
169
src = { `game://${ game } /${ video . _id } .jpg` }
167
170
/>
168
171
</ div >
169
172
</ div >
170
173
</ div >
171
- { renaming !== video . _id ? (
172
- < div > { video . _id . replace ( / _ / g, ' ' ) } </ div >
173
- ) : (
174
- < div >
175
- < input
176
- value = { newTitle }
177
- onChange = { ( { target : { value } } ) => {
178
- setNewTitle ( value ) ;
179
- } }
180
- />
181
- </ div >
182
- ) }
174
+ < div
175
+ style = { {
176
+ height : '50px' ,
177
+ overflow : 'clip' ,
178
+ } }
179
+ >
180
+ { renaming !== video . _id ? (
181
+ < div > { video . _id . replace ( / _ / g, ' ' ) } </ div >
182
+ ) : (
183
+ < div >
184
+ < input
185
+ value = { newTitle }
186
+ onChange = { ( {
187
+ target : { value } ,
188
+ } ) => {
189
+ setNewTitle ( value ) ;
190
+ } }
191
+ />
192
+ </ div >
193
+ ) }
194
+ </ div >
183
195
< div >
184
196
{ includeRename ? (
185
197
< >
You can’t perform that action at this time.
0 commit comments