-<div cdsGrid
- class="notification-header"
- [useCssGrid]="true"
- [fullWidth]="true">
- <div cdsCol
- [columnNumbers]="{sm: 8, md: 8, lg: 16}">
- <div cdsRow>
- <div
- cdsGrid
- [useCssGrid]="true"
- [fullWidth]="true">
- <h1
- [columnNumbers]="{sm: 8, md: 8, lg: 11}"
- i18n
- cdsCol
- class="cds--type-heading-compact-01">Tasks and Notifications</h1>
- <button
- cdsCol
- [columnNumbers]="{sm: 8, md: 8, lg: 5}"
- class="notification-header__dismiss-btn"
- i18n
- cdsButton="ghost"
- size="sm"
- (click)="onDismissAll()">
- Dismiss all
- </button>
- </div>
- </div>
- <cds-toggle
- cdsRow
- [checked]="isMuted"
+<div class="notification-header">
+ <div class="notification-header__heading-and-button">
+ <h1
+ i18n
+ class="cds--type-heading-compact-01">Tasks and Notifications</h1>
+ <button
+ class="notification-header__dismiss-btn"
+ i18n
+ cdsButton="ghost"
size="sm"
- (checkedChange)="onToggleMute()"
- label="Mute notifications"
- i18n-label
- hideLabel="true"> <!--hides the toggle state values (like "On/Off" in the toggle button)-->
- </cds-toggle>
+ (click)="onDismissAll()">
+ Dismiss all
+ </button>
</div>
+ <cds-toggle
+ [checked]="isMuted"
+ size="sm"
+ (checkedChange)="onToggleMute()"
+ label="Mute notifications"
+ i18n-label
+ hideLabel="true"> <!--hides the toggle state values (like "On/Off" in the toggle button)-->
+ </cds-toggle>
</div>