File tree Expand file tree Collapse file tree 2 files changed +18
-22
lines changed
redisinsight/ui/src/pages/browser/components/add-key/AddKeyReJSON Expand file tree Collapse file tree 2 files changed +18
-22
lines changed Original file line number Diff line number Diff line change @@ -109,24 +109,24 @@ const AddKeyReJSON = (props: Props) => {
109
109
/>
110
110
< EuiFlexGroup justifyContent = "flexEnd" >
111
111
< EuiFlexItem grow = { false } >
112
- < label htmlFor = "upload-input-file" className = { styles . uploadBtn } >
113
- < EuiButtonEmpty
114
- iconType = "folderOpen"
115
- className = { styles . emptyBtn }
116
- >
112
+ < EuiButtonEmpty
113
+ iconType = "folderOpen"
114
+ className = { styles . emptyBtn }
115
+ >
116
+ < label htmlFor = "upload-input-file" className = { styles . uploadBtn } >
117
117
< EuiText className = { styles . label } > Upload</ EuiText >
118
- </ EuiButtonEmpty >
119
- < input
120
- type = " file"
121
- id = "upload-input-file"
122
- data-testid = "upload-input-file "
123
- accept = "application/json, text/plain"
124
- onChange = { onFileChange }
125
- onClick = { onClick }
126
- className = { styles . fileDrop }
127
- aria-label = "Select file"
128
- / >
129
- </ label >
118
+ < input
119
+ type = "file"
120
+ id = "upload-input- file"
121
+ data-testid = "upload-input-file"
122
+ accept = "application/json, text/plain "
123
+ onChange = { onFileChange }
124
+ onClick = { onClick }
125
+ className = { styles . fileDrop }
126
+ aria-label = "Select file"
127
+ />
128
+ </ label >
129
+ </ EuiButtonEmpty >
130
130
</ EuiFlexItem >
131
131
</ EuiFlexGroup >
132
132
</ >
Original file line number Diff line number Diff line change 4
4
5
5
.uploadBtn {
6
6
display : flex ;
7
- margin-top : 7px ;
8
7
cursor : pointer ;
9
8
}
10
9
11
- .uploadIcon {
12
- margin-right : 4px ;
13
- }
14
-
15
10
.emptyBtn :global(.euiButtonEmpty ) {
16
11
height : 22px ;
12
+ margin-top : 7px ;
17
13
}
18
14
19
15
.emptyBtn :global(.euiButtonEmpty .euiButtonEmpty__content ) {
You can’t perform that action at this time.
0 commit comments