Skip to content

Commit

Permalink
Merge pull request #1426 from argos-ci/fix-various-rendering-bugs
Browse files Browse the repository at this point in the history
fix various rendering bugs
  • Loading branch information
gregberge authored Nov 20, 2024
2 parents 3ce0574 + d68236f commit 6afe41b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/frontend/src/pages/Build/BuildDiffColorState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export function useBuildDiffColorState() {
export function useBuildDiffColorStyle() {
const { color, opacity } = useBuildDiffColorState();
return {
filter: `drop-shadow(0 2000px 0 ${color})`,
transform: "translateY(-2000px)",
filter: `drop-shadow(0 60000px 0 ${color})`,
transform: "translateY(-60000px)",
overflow: "hidden",
opacity,
};
Expand Down
6 changes: 5 additions & 1 deletion apps/frontend/src/ui/TwicPicture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ export const TwicPicture = forwardRef(function TwicPicture(
const { src, transforms = [], original, ...rest } = props;
if (original) {
return (
<img ref={ref} src={twic(src, ["format=png", ...transforms])} {...rest} />
<img
ref={ref}
src={twic(src, ["format=png", "noop", ...transforms])}
{...rest}
/>
);
}
return (
Expand Down

0 comments on commit 6afe41b

Please sign in to comment.