Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/dev' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Jul 3, 2024
2 parents a20d2b6 + dd472b4 commit f30c8c4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class SharpTransform implements AssetTransformationStrategy {
const buffer = await optimizedImage.getContents();
const transformedBuffer = sharp(buffer, { animated: this.isAssetAnimated(asset) })
.withMetadata()
.resize({ width })
.resize({ width, withoutEnlargement: true })
.toBuffer();

/**
Expand Down
6 changes: 3 additions & 3 deletions packages/app-file-manager/src/components/Grid/File.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ export const FileThumbnail = ({ file, selected, onSelect, children }: FileProps)
</LazyLoad>
</FileBody>
<FileLabel data-testid={"fm-file-wrapper-file-label"}>
<Typography className="type" use={"overline"}>
<Typography className="type" use={"overline"} tag={"span"}>
{file.type}
</Typography>
<Typography className="name" use={"body2"}>
<Typography className="name" use={"body2"} tag={"span"}>
{file.name}
</Typography>
<Typography className="createdOn" use={"caption"}>
<Typography className="createdOn" use={"caption"} tag={"span"}>
<TimeAgo datetime={file.createdOn} />
</Typography>
</FileLabel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ const animateShow = keyframes`
export const StatusWrapper = styled.div`
border-radius: 28px;
width: 320px;
transform: translate(-50%, -50%);
position: absolute;
box-shadow: 0 2px 6px rgba(170, 185, 200, 0.4);
color: var(--mdc-theme-on-surface);
background-color: #fff;
left: calc(50vw - 160px);
left: calc(50% - 160px);
bottom: 16px;
display: flex;
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const t = i18n.ns("app-admin/file-manager/file-manager-view");
const FileListWrapper = styled("div")({
zIndex: 60,
height: "calc(100vh - 94px)",
position: "relative",
".mdc-data-table": {
display: "inline-table"
}
Expand Down

0 comments on commit f30c8c4

Please sign in to comment.