mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 06:04:29 +00:00
Fixing CT / ST icons (#9494)
This commit is contained in:
parent
3cc49c4ea8
commit
cd809720ba
@ -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%"
|
||||
|
||||
@ -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%"
|
||||
|
||||
@ -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%"
|
||||
|
||||
@ -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%"
|
||||
|
||||
@ -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'} />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user