Skip to content

Commit

Permalink
fix(graph): icon cutoff issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MirzaHanan committed Dec 14, 2024
1 parent c83a8fe commit 250db2d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React from 'react'
import styled, { css } from 'styled-components'
import { Icons } from '~/components/Icons'
import { Flex } from '~/components/common/Flex'
import { colors } from '~/utils'
import { useAppStore } from '~/stores/useAppStore'
import { colors } from '~/utils'

export const IconPicker: React.FC = () => {
const { selectedIcon, setSelectedIcon } = useAppStore((s) => s)
Expand Down Expand Up @@ -127,5 +127,10 @@ const IconBox = styled.div<{ isSelected: boolean }>`
height: 30px;
object-fit: contain;
color: white;
rect {
width: 1.5em;
height: 1.5em;
}
}
`
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,11 @@ const ColorPickerIconWrapper = styled.span<{ selectedColor?: string }>`
height: 22px;
object-fit: contain;
color: white;
rect {
width: 1.5em;
height: 1.5em;
}
}
`

Expand Down

0 comments on commit 250db2d

Please sign in to comment.