Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
}
}

.mdContainer {
& > * {
all: revert-layer;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
Using all: revert-layer; can have broad effects by resetting all CSS properties to their inherited values, which might lead to unexpected styling issues. Ensure this is the intended behavior and test thoroughly across different browsers and components.

}
}

.modelIcon {
width: 60px;
height: 60px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const AiModelModal: FC<AiModelModalProps> = props => (
</div>

<p className={styles.modelDescription}>
<MarkdownReview value={props.model.description} />
<MarkdownReview className={styles.mdContainer} value={props.model.description} />
</p>
</div>
</BaseModal>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
gap: $sp-4;
}

.mdContainer {
& > * {
all: revert-layer;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
Using all: revert-layer; can have unintended side effects by resetting styles from other layers. Ensure this is the intended behavior and that it doesn't interfere with other styles applied to the children of .mdContainer.

}
}

.workflowIcon {
width: 60px;
height: 60px;
Expand Down Expand Up @@ -105,7 +111,7 @@
height: 20px;
stroke: #0a0a0a;
}

&.iconFile {
path {
fill: #0A0A0A;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ const ScorecardHeader: FC = () => {
</div>
</div>
<p className={styles.workflowDescription}>
<MarkdownReview value={workflow.description} />
<MarkdownReview
className={styles.mdContainer}
value={workflow.description}
/>
</p>
{/* <div className={styles.workflowFileLink}>
<a href={workflow.defUrl}>
Expand Down
Loading