File tree 3 files changed +14
-12
lines changed
dash-renderer/src/components/error 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 3
3
}
4
4
5
5
.dash-fe-error__icon-x {
6
- width : 16px ;
7
- height : 16px ;
8
- background-color : red;
9
- margin-left : 75px ;
10
- border-radius : 4px ;
11
- border : 1px solid;
6
+ position : absolute;
7
+ right : 0 ;
8
+ top : 0 ;
9
+ color : # ccc ;
10
+ font-size : 20px ;
11
+ cursor : pointer;
12
+ }
12
13
14
+ .dash-fe-error__icon-x : hover
15
+ {
16
+ color : black;
13
17
}
14
18
15
19
Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react' ;
2
2
import './FrontEndError.css' ;
3
- import OffIcon from '../icons/OffIcon.svg' ;
4
3
import PropTypes from 'prop-types' ;
5
4
import { FrontEndError } from './FrontEndError.react' ;
6
5
@@ -36,13 +35,11 @@ class FrontEndErrorContainer extends Component {
36
35
){ connected ? null : '\u00a0 🚫 Server Unavailable' }
37
36
</ div >
38
37
< div
39
- className = 'dash-error-card__message'
40
- onClick = { ( ) => clickHandler ( ) }
41
- >
42
- < OffIcon className = 'dash-fe-error__icon-x' />
38
+ className = 'dash-fe-error__icon-x'
39
+ onClick = { ( ) => clickHandler ( ) } >
40
+ x
43
41
</ div >
44
42
</ div >
45
-
46
43
< div className = 'dash-error-card__list' > { errorElements } </ div >
47
44
</ div >
48
45
) ;
Original file line number Diff line number Diff line change 53
53
display : flex;
54
54
justify-content : center;
55
55
align-items : center;
56
+ position : relative;
56
57
}
57
58
.dash-error-card__message {
58
59
font-size : 14px ;
You can’t perform that action at this time.
0 commit comments