Fixing CT / ST icons (#9494)

This commit is contained in:
Marvin Frachet 2021-02-23 12:07:21 +01:00 committed by GitHub
parent 3cc49c4ea8
commit cd809720ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
import React from 'react';
const CTSelected = props => (
<svg width="79px" height="86px" viewBox="0 0 79 86" {...props}>
<svg width="60px" height="67px" viewBox="0 0 79 86" {...props}>
<defs>
<filter
x="-1.7%"

View File

@ -2,7 +2,7 @@
import React from 'react';
const CTUnSelected = props => (
<svg width="79px" height="86px" viewBox="0 0 79 86" {...props}>
<svg width="60px" height="67px" viewBox="0 0 79 86" {...props}>
<defs>
<filter
x="-1.7%"

View File

@ -2,7 +2,7 @@
import React from 'react';
const STSelected = props => (
<svg width="61px" height="68px" viewBox="0 0 61 68" {...props}>
<svg width="53px" height="60px" viewBox="0 0 61 68" {...props}>
<defs>
<filter
x="-1.7%"

View File

@ -2,7 +2,7 @@
import React from 'react';
const STUnselected = props => (
<svg width="61px" height="68px" viewBox="0 0 61 68" {...props}>
<svg width="53px" height="60px" viewBox="0 0 61 68" {...props}>
<defs>
<filter
x="-1.7%"

View File

@ -16,12 +16,12 @@ import Wrapper from './Wrapper';
const CTHackSpan = styled.span`
margin-left: -1rem;
margin-right: 1rem;
margin-top: -1.3rem;
margin-top: -0.5rem;
`;
const STHackSpan = styled.span`
margin-left: -1rem;
margin-right: 1rem;
margin-top: -0.5rem;
margin-top: -0.4rem;
`;
const BooleanBox = ({ label, name, onChange, onChangeCallback, options, value }) => {
@ -59,7 +59,7 @@ const BooleanBox = ({ label, name, onChange, onChangeCallback, options, value })
key={option.value}
htmlFor={option.value.toString()}
>
<Flex>
<Flex style={{ marginRight: '20px' }}>
{isST && (
<STHackSpan>
<STIcon selected={value === 'singleType'} />