0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Moved inline styling to separate stylesheet

This commit is contained in:
Michiel De Mey
2023-03-02 12:40:48 +01:00
parent 33f3fb18fa
commit e67fc2f775
2 changed files with 5 additions and 1 deletions

View File

@@ -221,7 +221,7 @@ const EditPage = createClass({
renderGoogleDriveIcon : function(){
return <Nav.item className='googleDriveStorage' onClick={this.handleGoogleClick}>
<img src={googleDriveIcon} style={{ filter: `grayscale(${this.state.saveGoogle ? 0 : 1})` }} alt='Google Drive icon'/>
<img src={googleDriveIcon} className={this.state.saveGoogle ? '' : 'inactive'} alt='Google Drive icon'/>
{this.state.confirmGoogleTransfer &&
<div className='errorContainer' onClick={this.closeAlerts}>

View File

@@ -21,5 +21,9 @@
height : 20px;
padding : 0px;
margin : -5px;
&.inactive {
filter: grayscale(1);
}
}
}