Skip to content

Commit f1619a7

Browse files
authored
fix(components/pages): update needs-attention to match box design (#582) (#611)
* fix(components/pages): update needs-attention to match box design * Add playground example to compare with box. * Simplify change.
1 parent 9ea0459 commit f1619a7

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

apps/playground/src/app/components/pages/action-hub/action-hub.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { CommonModule } from '@angular/common';
22
import { NgModule } from '@angular/core';
33
import { SkyIdModule } from '@skyux/core';
44
import { SkyInputBoxModule } from '@skyux/forms';
5-
import { SkyFluidGridModule } from '@skyux/layout';
5+
import { SkyBoxModule, SkyFluidGridModule } from '@skyux/layout';
66
import { SkyModalModule } from '@skyux/modals';
77
import { SkyActionHubModule } from '@skyux/pages';
88

@@ -25,6 +25,7 @@ import { SettingsComponent } from './settings/settings.component';
2525
SkyIdModule,
2626
SkyInputBoxModule,
2727
SkyModalModule,
28+
SkyBoxModule,
2829
],
2930
})
3031
export class ActionHubModule {

apps/playground/src/app/components/pages/action-hub/recent/action-hub-recent-links.component.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,12 @@
3939
Undefined
4040
</button>
4141
</sky-action-hub-buttons>
42+
<sky-action-hub-content>
43+
<sky-box>
44+
<sky-box-header> Content </sky-box-header>
45+
<sky-box-content>
46+
<p>This is the content area.</p>
47+
</sky-box-content>
48+
</sky-box>
49+
</sky-action-hub-content>
4250
</sky-action-hub>

libs/components/pages/src/lib/modules/needs-attention/needs-attention.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
class="sky-needs-attention-container sky-box"
33
[skyThemeClass]="{
44
'sky-padding-even-large sky-shadow': 'default',
5-
'sky-box sky-elevation-1-bordered sky-padding-even-xl': 'modern'
5+
'sky-elevation-1-bordered sky-padding-even-xl': 'modern'
66
}"
77
>
88
<h2 class="sky-font-heading-2">

0 commit comments

Comments
 (0)