File tree 2 files changed +21
-1
lines changed
2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 47
47
display : none !important ;
48
48
}
49
49
}
50
+
51
+ .side-bar-close-btn {
52
+ width : 37px ;
53
+ height : 37px ;
54
+ margin : 5px 5px 5px auto !important ;
55
+ }
56
+
57
+ .side-bar-content {
58
+ margin-top : 0 !important ;
59
+ }
Original file line number Diff line number Diff line change @@ -444,7 +444,17 @@ class MenuBar extends React.Component<Props, State> {
444
444
visible = { sidebarOpen }
445
445
width = "very wide"
446
446
>
447
- < Segment textAlign = "left" padded = "very" >
447
+ < Button
448
+ className = "side-bar-close-btn"
449
+ circular
450
+ icon = "close"
451
+ onClick = { ( ) => this . setState ( { sidebarOpen : false } ) }
452
+ />
453
+ < Segment
454
+ className = "side-bar-content"
455
+ textAlign = "left"
456
+ padded = "very"
457
+ >
448
458
< ReactMarkdown source = { this . getInfo ( ) } text-color = "white" />
449
459
</ Segment >
450
460
</ Sidebar >
You can’t perform that action at this time.
0 commit comments