Skip to content

Commit

Permalink
fix(docs): fix card sample page (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
fifoosid authored Apr 5, 2019
1 parent 5d1c920 commit d91f237
Showing 1 changed file with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h3>Card with List</h3>
<ui5-card avatar="sap-icon://group"
heading="Team 6"
subtitle="Direct Reports"
tatus="6 of 6"
status="6 of 6"
class="medium">
<div class="card-content">
<ui5-list separators="None" class="card-content-child">
Expand Down Expand Up @@ -417,25 +417,6 @@ <h3>More Cards</h3>
}
</style>

<ui5-card avatar="../../../../../../www/samples/images/woman_avatar_1.png" heading="Dona Maria Moore" subtitle="Senior Sales Executive" class="small">
<div class="content content-padding">
<ui5-title level="H5" style="padding-bottom: 1rem;">Contact details</ui5-title>

<div class="content-group">
<ui5-label>Company Name</ui5-label>
<ui5-title level="H6">Company A</ui5-title>
</div>
<div class="content-group">
<ui5-label>Address</ui5-label>
<ui5-title level="H6">481 West Street, Anytown 45066, USA</ui5-title>
</div>
<div class="content-group">
<ui5-label>Website</ui5-label>
<ui5-link target="_blank">www.company_a.example.com</ui5-link>
</div>
</div>
</ui5-card>

<style>
.item {display: flex;width: 100%;justify-content: space-between;}
.item-content-begin {display: flex;flex-direction: column;}
Expand All @@ -462,6 +443,25 @@ <h3>More Cards</h3>
...
</ui5-list>
</ui5-card>

<ui5-card avatar="../../../../../../www/samples/images/woman_avatar_1.png" heading="Dona Maria Moore" subtitle="Senior Sales Executive" class="small">
<div class="content content-padding">
<ui5-title level="H5" style="padding-bottom: 1rem;">Contact details</ui5-title>

<div class="content-group">
<ui5-label>Company Name</ui5-label>
<ui5-title level="H6">Company A</ui5-title>
</div>
<div class="content-group">
<ui5-label>Address</ui5-label>
<ui5-title level="H6">481 West Street, Anytown 45066, USA</ui5-title>
</div>
<div class="content-group">
<ui5-label>Website</ui5-label>
<ui5-link target="_blank">www.company_a.example.com</ui5-link>
</div>
</div>
</ui5-card>
</xmp>
</pre>
</section>
Expand Down

0 comments on commit d91f237

Please sign in to comment.