fix a load of linting issues

This commit is contained in:
41666 2019-04-03 02:10:43 -05:00
parent 928c9cf07c
commit 057e9f96b4
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF
31 changed files with 375 additions and 411 deletions

View file

@ -25,8 +25,8 @@ const LogoBox = styled.a`
const StyledServerPic = styled(DiscordIcon)`
border-radius: 100%;
box-shadow: 0 0 1px rgba(0,0,0,0.1);
border: 1px solid rgba(0,0,0,0.25);
box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0, 0, 0, 0.25);
height: 35px;
width: 35px;
margin-right: 10px;

View file

@ -10,8 +10,7 @@ export type CommonProps = {
}
const Header = styled.div`
background-color: ${({ noBackground }: any) => noBackground === false ? 'var(--c-dark);' : 'var(--c-1);'}
position: relative;
background-color: ${({ noBackground }: any) => noBackground === false ? 'var(--c-dark)' : 'var(--c-1)'};
transition: background-color 0.3s ease-in-out;
position: fixed;
top: 0;

View file

@ -23,14 +23,14 @@ const LoginButton = styled.a`
&:hover {
transform: translateY(-1px);
box-shadow: 0 1px 2px rgba(0,0,0,0.75);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
background-color: var(--c-green);
border-color: rgba(0,0,0,0.25);
text-shadow: 1px 1px 0px rgba(0,0,0,0.25);
border-color: rgba(0, 0, 0, 0.25);
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
}
&:active {
transform: translateY(0px);
transform: translateY(0);
box-shadow: none;
}
`