forked from mirrors/catstodon
Fix SCSS and JS linting issues
This commit is contained in:
parent
a0943b8f6d
commit
786b42e2b5
3 changed files with 14 additions and 8 deletions
|
@ -1,7 +1,13 @@
|
|||
export const Check: React.FC = () => (
|
||||
<svg 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
|
||||
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>
|
||||
);
|
||||
|
||||
export default Check;
|
||||
|
|
|
@ -3,7 +3,7 @@ import { PureComponent } from 'react';
|
|||
|
||||
import classNames from 'classnames';
|
||||
|
||||
import Check from 'flavours/glitch/components/check';
|
||||
import { Check } from 'flavours/glitch/components/check';
|
||||
|
||||
export default class Option extends PureComponent {
|
||||
|
||||
|
|
|
@ -930,7 +930,7 @@ $ui-header-height: 55px;
|
|||
color: $darker-text-color;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 600px) {
|
||||
@media screen and (width >= 600px) {
|
||||
padding: 40px;
|
||||
}
|
||||
}
|
||||
|
@ -1043,7 +1043,7 @@ $ui-header-height: 55px;
|
|||
color: $highlight-text-color;
|
||||
font-size: 1.2rem;
|
||||
|
||||
@media screen and (min-width: 600px) {
|
||||
@media screen and (width >= 600px) {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
@ -1112,7 +1112,7 @@ $ui-header-height: 55px;
|
|||
position: sticky;
|
||||
background: $ui-base-color;
|
||||
|
||||
@media screen and (min-width: 600) {
|
||||
@media screen and (width >= 600) {
|
||||
padding: 0 40px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue