Skip to content

Commit

Permalink
Merge pull request #1061 from data-for-change/remove_road_n12_1052
Browse files Browse the repository at this point in the history
remove road background image from wigets
  • Loading branch information
atalyaalon authored Mar 3, 2024
2 parents eb095d4 + 4d185e2 commit c3fa542
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/molecules/card/AnyWayCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {ColorScheme} from 'style'
import { Card, CardContent, Box } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';
import widgetToImage from 'services/to-image.service';

// TEXT BOX COMPONENT ADD FEATURE
import TextBox from 'components/organisms/TextBox'
import { AnyWayButton } from 'components/atoms/AnyWayButton';
Expand All @@ -16,7 +17,6 @@ import CardHeader from './CardHeader';
import SocialShare from 'components/atoms/SocialShare';
import { FooterVariant, getWidgetVariant, HeaderVariant } from 'services/widgets.style.service';
import { getSizes } from './card.util';
import CardBackgroundImage from './CardBackgroundImage';
import CardFooter from './CardFooter';
import CardEditor from 'components/organisms/CardEditorDialog';
import { transparent } from 'style';
Expand Down Expand Up @@ -156,9 +156,6 @@ const AnyWayCard: FC<IProps> = ({
<>
<Card ref={refFn} className={classes.root} variant="outlined">
<Box height={sizes.height} width={sizes.width} position="relative" padding={3}>
{/* BACKGROUND IMAGE */}
<CardBackgroundImage variant={variant.header} />

{/* HEADER */}
{variant.header !== HeaderVariant.None && (
<Box height={sizes.headerHeight} width="100%">
Expand Down

0 comments on commit c3fa542

Please sign in to comment.