Skip to content

Commit

Permalink
feat(ui): add schema properties marker (springwolf#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback authored Aug 30, 2024
1 parent 1facecd commit e807cc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*ngFor="let property of schema().properties || {} | keyvalue"
lines="99"
>
<mat-icon matListItemIcon>arrow_right</mat-icon>

<span class="key" matListItemTitle>
<b class="text-console">{{ property.key }}</b>
<span class="required" *ngIf="schema().required?.includes(property.key)"
Expand Down
5 changes: 5 additions & 0 deletions springwolf-ui/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ $theme: mat.define-theme((
background: mat.get-theme-color($theme, primary, 40);
color: var(--mat-toolbar-container-text-color);
}

mat-list {
--mat-list-list-item-leading-icon-start-space: 0;
--mat-list-list-item-leading-icon-end-space: 0;
}
}

:root {
Expand Down

0 comments on commit e807cc6

Please sign in to comment.