Skip to content

Commit

Permalink
Rename CSS classname: markdown to error-box-markdown (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwillchen committed Aug 14, 2024
1 parent 5064703 commit 88cf2c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mesop/web/src/app/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ body {
box-sizing: border-box;
}

// Need these as global styles since markdown HTML is rendered specially.
.markdown * {
// Need these as global styles since markdown HTML is not rendered through Angular.
.error-box-markdown * {
margin: 0;
padding: 0;
list-style: none;
Expand Down
2 changes: 1 addition & 1 deletion mesop/web/src/error/error_box.ng.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<button mat-icon-button class="close-button" (click)="hideError(error)">
<mat-icon>close</mat-icon>
</button>
<div class="markdown" [innerHTML]="markdownHTML"></div>
<div class="error-box-markdown" [innerHTML]="markdownHTML"></div>
</div>
<div *ngIf="error.hasTraceback()">
<div *ngIf="showFullTraceback()" class="traceback-heading">Traceback</div>
Expand Down

0 comments on commit 88cf2c0

Please sign in to comment.