Fix SCSS and JS linting issues

This commit is contained in:
Claire 2023-12-02 20:15:14 +01:00
parent a0943b8f6d
commit 786b42e2b5
3 changed files with 14 additions and 8 deletions

View File

@ -1,7 +1,13 @@
export const Check: React.FC = () => ( export const Check: React.FC = () => (
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'> <svg
<path fillRule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clipRule='evenodd' /> xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 20 20'
fill='currentColor'
>
<path
fillRule='evenodd'
d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z'
clipRule='evenodd'
/>
</svg> </svg>
); );
export default Check;

View File

@ -3,7 +3,7 @@ import { PureComponent } from 'react';
import classNames from 'classnames'; import classNames from 'classnames';
import Check from 'flavours/glitch/components/check'; import { Check } from 'flavours/glitch/components/check';
export default class Option extends PureComponent { export default class Option extends PureComponent {

View File

@ -930,7 +930,7 @@ $ui-header-height: 55px;
color: $darker-text-color; color: $darker-text-color;
} }
@media screen and (min-width: 600px) { @media screen and (width >= 600px) {
padding: 40px; padding: 40px;
} }
} }
@ -1043,7 +1043,7 @@ $ui-header-height: 55px;
color: $highlight-text-color; color: $highlight-text-color;
font-size: 1.2rem; font-size: 1.2rem;
@media screen and (min-width: 600px) { @media screen and (width >= 600px) {
display: flex; display: flex;
} }
} }
@ -1112,7 +1112,7 @@ $ui-header-height: 55px;
position: sticky; position: sticky;
background: $ui-base-color; background: $ui-base-color;
@media screen and (min-width: 600) { @media screen and (width >= 600) {
padding: 0 40px; padding: 0 40px;
} }