Skip to content

Commit

Permalink
Remove CardIconConatiner component
Browse files Browse the repository at this point in the history
  • Loading branch information
maxatdetroit committed Nov 14, 2023
1 parent c45c414 commit 4fae230
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 45 deletions.
3 changes: 0 additions & 3 deletions src/components/atoms/CardIconContainer/CardIconContainer.css

This file was deleted.

34 changes: 0 additions & 34 deletions src/components/atoms/CardIconContainer/CardIconContainer.js

This file was deleted.

This file was deleted.

3 changes: 3 additions & 0 deletions src/components/organisms/Card/Card.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.top-icon {
margin-top: 1em;
}
9 changes: 4 additions & 5 deletions src/stories/clickable.stories.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { html } from 'lit-html';
import '../components/atoms/Clickable/cod-clickable';
import '../components/organisms/Card/cod-card';
import '../components/atoms/CardIconContainer/cod-card-icon-container';
import '../components/atoms/Icon/cod-icon';
import '../components/atoms/CardBody/cod-card-body';

Expand All @@ -15,9 +14,9 @@ export const ActionButton = () => html`
data-id="card-as-action-button"
data-width="18em"
>
<cod-card-icon-container>
<div class="w-100 top-icon">
<cod-icon data-icon="house" data-size="x-large" />
</cod-card-icon-container>
</div>
<cod-card-body>
<h5 class="card-title">Do Something</h5>
<p class="card-text">Like click on this card.</p>
Expand All @@ -32,9 +31,9 @@ export const ActionButtonSuccess = () => html`
data-id="card-as-action-button"
data-width="18em"
>
<cod-card-icon-container>
<div class="w-100 top-icon">
<cod-icon data-icon="house" data-size="x-large" />
</cod-card-icon-container>
</div>
<cod-card-body>
<h5 class="card-title">Do Something</h5>
<p class="card-text">Like click on this card.</p>
Expand Down

0 comments on commit 4fae230

Please sign in to comment.