Skip to content

Commit

Permalink
Merge pull request #131 from keitaroinc/fix-ckan-template-background
Browse files Browse the repository at this point in the history
Remove align leftovers from canvasBackgroundValues
  • Loading branch information
gocemitevski authored Oct 16, 2023
2 parents c9e7760 + e9f7d98 commit 709c2ee
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/components/CanvasWrapper/CanvasWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,7 @@ export const CanvasWrapper: React.FC<{ className?: string }> = ({
>
{canvasBackgroundValues.fileImageURL ? (
<div
className={`blur ${
canvasBackgroundValues.align.horizontal
? `align-h-${canvasBackgroundValues.align.horizontal} text-${canvasBackgroundValues.align.horizontal}`
: ``
} ${
canvasBackgroundValues.align.vertical
? `align-v-${canvasBackgroundValues.align.vertical}`
: ``
}`}
className={`blur`}
style={{
backgroundImage: `url(${canvasBackgroundValues.fileImageURL})`,
backgroundSize: `auto ${canvasBackgroundValues.size}%`,
Expand Down

0 comments on commit 709c2ee

Please sign in to comment.