Skip to content

Commit

Permalink
Updated css plotly#1403
Browse files Browse the repository at this point in the history
  • Loading branch information
ann-marie-ward committed Dec 22, 2020
1 parent 087aaaa commit b74ac86
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
16 changes: 10 additions & 6 deletions dash-renderer/src/components/error/FrontEnd/FrontEndError.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
}

.dash-fe-error__icon-x {
width: 16px;
height: 16px;
background-color: red;
margin-left: 75px;
border-radius: 4px;
border: 1px solid;
position: absolute;
right: 0;
top: 0;
color: #ccc;
font-size: 20px;
cursor: pointer;
}

.dash-fe-error__icon-x:hover
{
color:black;
}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, {Component} from 'react';
import './FrontEndError.css';
import OffIcon from '../icons/OffIcon.svg';
import PropTypes from 'prop-types';
import {FrontEndError} from './FrontEndError.react';

Expand Down Expand Up @@ -36,13 +35,11 @@ class FrontEndErrorContainer extends Component {
){connected ? null : '\u00a0 🚫 Server Unavailable'}
</div>
<div
className='dash-error-card__message'
onClick={() => clickHandler()}
>
<OffIcon className='dash-fe-error__icon-x' />
className='dash-fe-error__icon-x'
onClick={() => clickHandler()}>
x
</div>
</div>

<div className='dash-error-card__list'>{errorElements}</div>
</div>
);
Expand Down
1 change: 1 addition & 0 deletions dash-renderer/src/components/error/GlobalErrorOverlay.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.dash-error-card__message {
font-size: 14px;
Expand Down

0 comments on commit b74ac86

Please sign in to comment.