Skip to content

Commit

Permalink
fix(cxl-ui): set max three lines to cxl-light-card header
Browse files Browse the repository at this point in the history
  • Loading branch information
freudFlintstone committed Nov 22, 2023
1 parent a22bd56 commit 839e821
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cxl-ui/scss/cxl-light-card.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use './mixins';

:host {
min-width: 267px; // 3col widths on 1400px
max-width: 300px;
Expand All @@ -21,6 +23,7 @@
max-width: none;

.name {
@include mixins.ellipsis-for-lines(3);
font-size: var(--lumo-font-size-m);
font-weight: 600;
}
Expand Down

0 comments on commit 839e821

Please sign in to comment.