Skip to content

Commit

Permalink
[OPIK-438]: patch the tailwind class issue;
Browse files Browse the repository at this point in the history
  • Loading branch information
Sasha committed Nov 21, 2024
1 parent 680e5c3 commit 692af02
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ const CompareExperimentsViewer: React.FunctionComponent<
};

// ALEX
const tailwind1 = `h-[calc(100% - ${SCORES_EDITOR_HEIGHT})] overflow-auto`;
const height = `calc(100% - ${SCORES_EDITOR_HEIGHT})`;
const tailwind1 = `overflow-auto`;
const tailwind2 = `pt-4 pb-8 contain-content box-border overflow-auto h-[${SCORES_EDITOR_HEIGHT}]`;

return (
Expand All @@ -94,7 +95,9 @@ const CompareExperimentsViewer: React.FunctionComponent<
)}
</div>

<div className={tailwind1}>{renderOutput()}</div>
<div className={tailwind1} style={{ height }}>
{renderOutput()}
</div>

{isTraceExist && (
<div className={tailwind2} style={{ height: SCORES_EDITOR_HEIGHT }}>
Expand Down

0 comments on commit 692af02

Please sign in to comment.