Skip to content

Commit

Permalink
fix alert title margin
Browse files Browse the repository at this point in the history
  • Loading branch information
auumgn committed Dec 11, 2024
1 parent 6f54de2 commit 7a4fb4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/app/cdk/alert-message/alert-message.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@
}

.content {
::ng-deep {
> :first-child {
margin-top: 8px;
}
}
line-height: 21px !important;
}

.title:not(:empty) + .content:not(:empty) {
margin-top: 8px;
}

.alert-container {
border: solid 2px;
border-radius: 4px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,10 @@ <h3 class="orc-font-body" i18n="@@developerTools.exampleCode">
</ng-container>
</ng-container>

<app-terms-of-use (developerToolsEnable)="ngOnInit()"></app-terms-of-use>
<app-terms-of-use
*ngIf="!developerToolsEnable && !this.loadingUserDevTolsState"
(developerToolsEnable)="ngOnInit()"
></app-terms-of-use>
</main>
</div>
</div>

0 comments on commit 7a4fb4d

Please sign in to comment.