Fixed: UI fixes from Sonarr

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick 2018-08-26 00:39:04 -04:00
parent 6eafffeb2c
commit b506fd3ab7
20 changed files with 117 additions and 88 deletions

View file

@ -16,6 +16,10 @@ function Icon(props) {
...otherProps
} = props;
if (title && !window.Lidarr.isProduction) {
console.error('Icons cannot have a title');
}
return (
<FontAwesomeIcon
className={classNames(
@ -24,7 +28,6 @@ function Icon(props) {
)}
icon={name}
spin={isSpinning}
title={title}
style={{
fontSize: `${size}px`
}}