Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
maxatdetroit committed Jun 28, 2024
1 parent 748fe2d commit 91cce20
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/components/atoms/LegacyButton/LegacyButton.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ a {
display: block;
height: 100%;
width: 100%;
}
}
18 changes: 10 additions & 8 deletions src/stories/legacybutton.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,17 @@ function _createLegacyButton(args) {

// Template
const Template = (args) => {
return html`
<div class="w-50 h-50">
${_createLegacyButton(args)}
</div>
`;
return html` <div class="w-50 h-50">${_createLegacyButton(args)}</div> `;
};

export const Primary = Template.bind({});

export const ButtonGrid = () => {
return html`
<div class="row">
<div class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center">
<div
class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center"
>
<div class="w-75 h-75">
<cod-legacy-button
icon="neighborhoods"
Expand All @@ -107,7 +105,9 @@ export const ButtonGrid = () => {
</cod-legacy-button>
</div>
</div>
<div class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center">
<div
class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center"
>
<div class="w-75 h-75">
<cod-legacy-button
icon="people"
Expand All @@ -124,7 +124,9 @@ export const ButtonGrid = () => {
</cod-legacy-button>
</div>
</div>
<div class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center">
<div
class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center"
>
<div class="w-75 h-75">
<cod-legacy-button
icon="sustainability"
Expand Down
18 changes: 10 additions & 8 deletions src/stories/legacyicon.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,31 @@ function _createLegacyIcon(args) {

// Template
const Template = (args) => {
return html`
<div class="w-50 h-50">
${_createLegacyIcon(args)}
</div>
`;
return html` <div class="w-50 h-50">${_createLegacyIcon(args)}</div> `;
};

export const Primary = Template.bind({});

export const IconGrid = () => {
return html`
<div class="row">
<div class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center">
<div
class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center"
>
<div class="w-75 h-75">
<cod-legacy-icon icon="neighborhoods"> </cod-legacy-icon>
</div>
</div>
<div class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center">
<div
class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center"
>
<div class="w-75 h-75">
<cod-legacy-icon icon="people"> </cod-legacy-icon>
</div>
</div>
<div class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center">
<div
class="col-lg-4 col-sm-12 col-md-6 px-0 d-flex justify-content-center align-items-center"
>
<div class="w-75 h-75">
<cod-legacy-icon icon="sustainability"> </cod-legacy-icon>
</div>
Expand Down

0 comments on commit 91cce20

Please sign in to comment.