Skip to content

Commit

Permalink
fix(cxl-ui): fix card height to 280px
Browse files Browse the repository at this point in the history
  • Loading branch information
freudFlintstone committed Oct 12, 2023
1 parent 18a9e2b commit 8105283
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/cxl-ui/scss/cxl-base-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ header {
}

.name {
@include mixins.ellipsis-for-lines(3);
@include mixins.ellipsis-for-lines(2);
font-family: var(--lumo-font-family);
font-size: var(--lumo-font-size-xl);
font-style: normal;
Expand Down
4 changes: 2 additions & 2 deletions packages/cxl-ui/scss/cxl-course-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@use "~@conversionxl/cxl-ui/scss/mixins";

:host {
height: 345px;
height: 280px;
}

:host(:hover) {
Expand Down Expand Up @@ -32,7 +32,7 @@ header {
line-height: var(--lumo-line-height-s);

.content {
@include mixins.ellipsis-for-lines(5);
@include mixins.ellipsis-for-lines(4);
min-height: calc(var(--lumo-line-height-s) * 3); // three standard line-heights

::slotted(p) {
Expand Down

0 comments on commit 8105283

Please sign in to comment.