style(flows): font sizes
This commit is contained in:
@@ -8,7 +8,6 @@ const ColorPickerNodeWrapper = styled.div`
|
||||
padding: 10px;
|
||||
background: white;
|
||||
border: 1px solid ${getThemeColor('violet')};
|
||||
font-size: 12px;
|
||||
border-radius: 4px;
|
||||
box-shadow: ${(p) =>
|
||||
p.selected ? `0 0 0 0.25px ${p.theme.colors.violet}` : 'none'};
|
||||
|
||||
@@ -14,9 +14,9 @@ const getOffset = () => {
|
||||
if (isSmallScreen) {
|
||||
return 0;
|
||||
} else if (windowWidth < 1200) {
|
||||
return 405;
|
||||
return 425;
|
||||
} else {
|
||||
return (windowWidth - 1200) / 2 + 450;
|
||||
return (windowWidth - 1200) / 2 + 500;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -115,6 +115,7 @@ export default () => {
|
||||
sourcePosition: 'right',
|
||||
position: { x: getColorNodeX(), y: isSmallScreen ? 350 : 180 },
|
||||
style: {
|
||||
width: 200,
|
||||
background: 'rgb(105, 100, 165)',
|
||||
color: 'white',
|
||||
textShadow:
|
||||
|
||||
@@ -44,7 +44,10 @@
|
||||
.react-flow {
|
||||
font-family: 'jetbrains-mono';
|
||||
text-transform: uppercase;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.react-flow .react-flow__node {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.react-flow__controls-button {
|
||||
|
||||
Reference in New Issue
Block a user