Skip to content

Commit

Permalink
fix deep scan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhuignoto committed Feb 28, 2024
1 parent 25b375f commit 089abbb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/components/elements/popover/popover.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ export const Selecter = styled.div<{
background: ${({ $theme }) => $theme.toolbarBtnBgColor};
color: ${({ $theme }) => $theme.toolbarTextColor};
border-radius: 25px;
box-shadow: ${({ $open, $isDarkMode: isDarkMode }) =>
box-shadow: ${({ $open, $isDarkMode }) =>
!$open
? `0px 1px 1px rgba(0, 0, 0, ${isDarkMode ? '0.85' : '0.2'})`
? `0px 1px 1px rgba(0, 0, 0, ${$isDarkMode ? '0.85' : '0.2'})`
: 'inset 0 0 1px 1px rgba(0, 0, 0, 0.2)'};
cursor: pointer;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ const ContentFooter: FunctionComponent<ContentFooterProps> = ({
[showReadMore, textContentIsLarge],
);

// useEffect(() => {
// console.log('show more', showReadMore);
// console.log('text content is large', textContentIsLarge);
// }, [showMore, canShowMore, canShow]);

return (
<>
{canShowMore ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ const TimelineCardContent: React.FunctionComponent<TimelineContentModel> =
return;
}
const detailsEle = detailsRef.current;
// console.log('textDensity', textDensity);
if (!detailsEle) {
return;
}
Expand Down
8 changes: 0 additions & 8 deletions src/components/timeline-vertical/timeline-vertical.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ const TimelineVertical: React.FunctionComponent<TimelineVerticalModel> = ({

return (
<TimelineVerticalWrapper data-testid="tree-main" role="list">
{/* {enableOutline && (
<TimelineOutline
theme={theme}
mode={mode}
items={outlineItems}
onSelect={onOutlineSelection}
/>
)} */}
{items.map((item, index) => {
let className = '';

Expand Down

0 comments on commit 089abbb

Please sign in to comment.