Skip to content

Commit 8668f63

Browse files
griest024xelaint
andauthored
update docs
Co-authored-by: Elain T. <xelaint@gmail.com>
1 parent 0014b2b commit 8668f63

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/design-land/src/app/card/card.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ <h1>Card</h1>
22
<p>Cards are versatile content containers that contain content and actions to convey information about a single subject.</p>
33

44
<h2>Overview</h2>
5-
<p>There are three types of cards: default (filled), and stroked. Cards can contain anything from images, blocks of text, lists, accordions, and other components.</p>
5+
<p>There are two types of cards: default (filled) and stroked. Cards can contain anything from images, blocks of text, lists, accordions, and other components.</p>
66

77
<h2>Basic Card</h2>
88
<p>The example below is a default, filled card that includes all of a card's pre-styled elements and a fixed width. Cards naturally do not have a fixed width, so they'll be 100% wide by default. The width is changeable with custom CSS.</p>

apps/design-land/src/app/sidebar/sidebar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h4>Required imports</h4>
5454
<p>The <code>BrowserAnimationsModule</code> or <code>NoopAnimationsModule</code> must be imported in the particular Angular <code>&#64;NgModule</code> the sidebar is used in for the sidebar to render and work properly.</p>
5555

5656
<h3>Header and footer</h3>
57-
<p>The <code>&lt;daff-sidebar-header&gt;</code> includes optional title (<code>[daffSidebarHeaderTitle]</code>) selector, and a slot to render custom content. The action selector should be used along with the <code>&lt;daff-icon-button&gt;</code> (view <a routerLink="/button">Button Documentation</a>) to make sure that the action is positioned correctly and it passes WCAG guidelines.</p>
57+
<p>The <code>&lt;daff-sidebar-header&gt;</code> includes an optional title (<code>[daffSidebarHeaderTitle]</code>) selector and a slot to render custom content. The action selector should be used along with the <code>&lt;daff-icon-button&gt;</code> (view <a routerLink="/button">Button Documentation</a>) to make sure that the action is positioned correctly and it passes WCAG guidelines.</p>
5858

5959
<p>The <code>&lt;daff-sidebar-footer&gt;</code> is a "holder" component with minimal default styling. Its main purpose is to position the footer at the bottom of the sidebar, allowing the sidebar's content to overflow and scroll while ensuring that the footer remains constantly visible.</p>
6060

0 commit comments

Comments
 (0)