style: format frontend, docs and skills with prettier; add .prettierignore
One-time prettier --write so the new format:check CI gate starts green. .prettierignore excludes generated (api-client.ts, documentation.json), vendored (public/cibg-huisstijl), and backend (dotnet format owns it). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,14 @@ const ICON_LABELS: Record<AlertType, string> = {
|
||||
only the icon's a11y label and a content wrapper (`.feedback` is a flex row). */
|
||||
@Component({
|
||||
selector: 'app-alert',
|
||||
styles: [`.feedback>div{flex:1 1 auto;min-width:0}`],
|
||||
styles: [
|
||||
`
|
||||
.feedback > div {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
`,
|
||||
],
|
||||
template: `
|
||||
<div
|
||||
class="feedback"
|
||||
@@ -25,8 +32,11 @@ const ICON_LABELS: Record<AlertType, string> = {
|
||||
[class.feedback-warning]="type() === 'warning'"
|
||||
[class.feedback-error]="type() === 'error'"
|
||||
role="status"
|
||||
aria-atomic="true">
|
||||
<span class="icon"><span class="visually-hidden">{{ iconLabels[type()] }}</span></span>
|
||||
aria-atomic="true"
|
||||
>
|
||||
<span class="icon"
|
||||
><span class="visually-hidden">{{ iconLabels[type()] }}</span></span
|
||||
>
|
||||
<div><ng-content /></div>
|
||||
</div>
|
||||
`,
|
||||
|
||||
Reference in New Issue
Block a user