File tree Expand file tree Collapse file tree 3 files changed +27
-16
lines changed
ui/src/Components/DashBoard/Repository
GitComponents/GitOperation
RepoComponents/RepoDetails Expand file tree Collapse file tree 3 files changed +27
-16
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import "../../../../styles/GitOperations.css";
7
7
import CommitComponent from "./CommitComponent" ;
8
8
import PushComponent from "./PushComponent" ;
9
9
import StageComponent from "./StageComponent" ;
10
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
10
11
11
12
export default function GitOperationComponent ( props ) {
12
13
library . add ( fab ) ;
@@ -435,16 +436,18 @@ export default function GitOperationComponent(props) {
435
436
} }
436
437
>
437
438
{ actionComponent ( action ) }
438
-
439
439
< div
440
- className = "git-ops--backdrop--close "
440
+ className = "w-14 h-14 mr-5 mt-6 rounded-full bg-red-500 text-white flex justify-center items-center shadow cursor-pointer fixed right-0 top-0 "
441
441
onClick = { ( ) => {
442
442
setAction ( "" ) ;
443
443
const localReload = viewReload + 1 ;
444
444
setViewReload ( localReload ) ;
445
445
} }
446
446
>
447
- X
447
+ < FontAwesomeIcon
448
+ className = "flex text-center text-3xl my-auto"
449
+ icon = { [ "fas" , "times" ] }
450
+ > </ FontAwesomeIcon >
448
451
</ div >
449
452
</ div >
450
453
) : null }
Original file line number Diff line number Diff line change @@ -337,14 +337,16 @@ export default function FileExplorerComponent(props) {
337
337
} }
338
338
>
339
339
< div
340
- className = "close-btn-round "
340
+ className = "w-14 h-14 mr-5 mt-6 rounded-full bg-red-500 text-white flex justify-center items-center shadow cursor-pointer fixed right-0 top-0 "
341
341
onClick = { ( ) => {
342
342
setCodeViewToggle ( false ) ;
343
343
} }
344
344
>
345
- X
345
+ < FontAwesomeIcon
346
+ className = "flex text-center text-3xl my-auto"
347
+ icon = { [ "fas" , "times" ] }
348
+ > </ FontAwesomeIcon >
346
349
</ div >
347
-
348
350
< div className = "code-view-area" >
349
351
{ memoizedCodeFileViewComponent }
350
352
</ div >
Original file line number Diff line number Diff line change @@ -229,20 +229,23 @@ export default function RepositoryDetails(props) {
229
229
}
230
230
} }
231
231
>
232
- < div
233
- className = "commitlogs-view"
234
- onClick = { ( ) => {
235
- setShowCommitLogs ( false ) ;
236
- } }
237
- >
238
- X
239
- </ div >
240
232
< div
241
233
id = "commit-log__cards"
242
234
className = "w-full xl:w-3/4 lg:w-5/6 md:w-11/12 sm:w-11/12 h-full block mx-auto my-auto mt-10 mb-10"
243
235
>
244
236
{ memoizedCommitLogComponent }
245
237
</ div >
238
+ < div
239
+ className = "w-14 h-14 mr-5 mt-6 rounded-full bg-red-500 text-white flex justify-center items-center shadow cursor-pointer fixed right-0 top-0"
240
+ onClick = { ( ) => {
241
+ setShowCommitLogs ( false ) ;
242
+ } }
243
+ >
244
+ < FontAwesomeIcon
245
+ className = "flex text-center text-3xl my-auto"
246
+ icon = { [ "fas" , "times" ] }
247
+ > </ FontAwesomeIcon >
248
+ </ div >
246
249
</ div >
247
250
</ >
248
251
) : null }
@@ -260,15 +263,18 @@ export default function RepositoryDetails(props) {
260
263
>
261
264
< > { action ? actionComponentPicker ( ) : null } </ >
262
265
< div
263
- className = "action-view "
266
+ className = "w-14 h-14 mr-5 mt-6 rounded-full bg-red-500 text-white flex justify-center items-center shadow cursor-pointer fixed top-0 right-0 "
264
267
onClick = { ( ) => {
265
268
setBackdropToggle ( false ) ;
266
269
setCodeViewToggle ( false ) ;
267
270
setReloadView ( true ) ;
268
271
setAction ( "" ) ;
269
272
} }
270
273
>
271
- X
274
+ < FontAwesomeIcon
275
+ className = "flex text-center text-3xl my-auto"
276
+ icon = { [ "fas" , "times" ] }
277
+ > </ FontAwesomeIcon >
272
278
</ div >
273
279
</ div >
274
280
) : null }
You can’t perform that action at this time.
0 commit comments