Skip to content

Commit b74ac86

Browse files
Updated css plotly#1403
1 parent 087aaaa commit b74ac86

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

dash-renderer/src/components/error/FrontEnd/FrontEndError.css

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
}
44

55
.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+
}
1213

14+
.dash-fe-error__icon-x:hover
15+
{
16+
color:black;
1317
}
1418

1519

dash-renderer/src/components/error/FrontEnd/FrontEndErrorContainer.react.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, {Component} from 'react';
22
import './FrontEndError.css';
3-
import OffIcon from '../icons/OffIcon.svg';
43
import PropTypes from 'prop-types';
54
import {FrontEndError} from './FrontEndError.react';
65

@@ -36,13 +35,11 @@ class FrontEndErrorContainer extends Component {
3635
){connected ? null : '\u00a0 🚫 Server Unavailable'}
3736
</div>
3837
<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
4341
</div>
4442
</div>
45-
4643
<div className='dash-error-card__list'>{errorElements}</div>
4744
</div>
4845
);

dash-renderer/src/components/error/GlobalErrorOverlay.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
display: flex;
5454
justify-content: center;
5555
align-items: center;
56+
position: relative;
5657
}
5758
.dash-error-card__message {
5859
font-size: 14px;

0 commit comments

Comments
 (0)