Skip to content

Commit

Permalink
Add marginBottom to some components
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico De Marines authored and Federico De Marines committed Aug 7, 2024
1 parent a5cf52d commit 821c853
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const Boolean: React.FC<BooleanProps> = ({
checked={!_isUndefined(value) ? value : defaultValue}
disabled={readonly}
required={required}
sx={{ marginBottom: "4px" }}
/>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export const DescriptionText: React.FC<DescriptionTextProps> = ({
noWrap={noWrap}
paragraph={paragraph}
whiteSpace={preWrap ? "pre-wrap" : "normal"}
sx={{ marginBottom: "4px" }}
>
{_isUndefined(value) ? label : value}
</Typography>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ImageViewer: React.FC<ImageViewerProps> = ({
height={height}
width={width}
alt=""
style={{ maxWidth: "100%" }}
style={{ maxWidth: "100%", marginBottom: "4px" }}
/>
) : (
" No Image to preview"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const VideoViewer: React.FC<VideoViewerProps> = ({
justifyContent: "center",
width: "100%",
maxWidth: "100%",
marginBottom: '4px',
">div": {
maxWidth: "600px ",
maxHeight: "500px",
Expand Down

0 comments on commit 821c853

Please sign in to comment.