Skip to content

Commit

Permalink
Merge pull request #157 from UX-Alkosto/develop
Browse files Browse the repository at this point in the history
nueva variación del componente card
  • Loading branch information
miguelcolmenares committed Sep 20, 2021
2 parents 774a02a + a6c5eb4 commit 7c425fc
Show file tree
Hide file tree
Showing 6 changed files with 642 additions and 602 deletions.
18 changes: 18 additions & 0 deletions components/card/css/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,21 @@ const styles = css`:host{
padding: .5rem;
text-align: center;
}
:host([type=category-product]) {
align-items: end;
display: flex;
padding: 0 10px;
}
:host([type=category-product]) ::slotted(img) {
order: 2;
margin-left: 25px;
width: 30%;
}
:host([type=category-product]) ::slotted(h3) {
font-weight: normal;
order: 1;
width: 70%;
}
:host([type=icon-item]){
align-items: center;
display:flex;
Expand Down Expand Up @@ -155,6 +170,9 @@ const styles = css`:host{
::slotted(p) {
display: block;
}
:host([type=category-product]) ::slotted(img) {
margin-left: 30px;
}
}`;

export { styles };
4 changes: 2 additions & 2 deletions dist/components.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/glide.esm-dd466865.js → dist/glide.esm-619582f7.js

Large diffs are not rendered by default.

Loading

0 comments on commit 7c425fc

Please sign in to comment.