File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed
ui/packages/shared/pages/Logs Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ const useStyles = makeStyles(
3232 '& > span' : {
3333 display : 'flex' ,
3434 flexDirection : 'row' ,
35- gap : '5px' ,
3635 alignItems : 'center' ,
3736 border : '1px solid #898E9A' ,
3837 padding : '3px 8px' ,
@@ -46,9 +45,13 @@ const useStyles = makeStyles(
4645 background : 'none' ,
4746 outline : 'none' ,
4847 border : 0 ,
49- width : '18px' ,
50- height : '18px' ,
48+ width : '100%' ,
49+ height : '100%' ,
50+ display : 'flex' ,
51+ alignItems : 'center' ,
5152 cursor : 'pointer' ,
53+ paddingBottom : 0 ,
54+ paddingRight : 0 ,
5255 } ,
5356 } ,
5457 // we need important since id has higher priority than class
@@ -82,6 +85,12 @@ const useStyles = makeStyles(
8285 transform : 'rotate(45deg) scale(0.75)' ,
8386 } ,
8487 } ,
88+ buttonClassName : {
89+ '& svg' : {
90+ width : '14px' ,
91+ height : '14px' ,
92+ } ,
93+ } ,
8594 activeError : {
8695 border : '1px solid #F44336 !important' ,
8796 color : '#F44336 !important' ,
@@ -193,7 +202,11 @@ export const Logs = ({ api, instanceId }: { api: Api; instanceId: string }) => {
193202 }
194203 >
195204 < span > { type . toLowerCase ( ) } </ span >
196- < button aria-label = "close" type = "button" >
205+ < button
206+ aria-label = "close"
207+ type = "button"
208+ className = { classes . buttonClassName }
209+ >
197210 < PlusIcon />
198211 </ button >
199212 </ span >
You can’t perform that action at this time.
0 commit comments