Skip to content

Commit

Permalink
Fix overflow card title (#91)
Browse files Browse the repository at this point in the history
* fix: overflow card title

* chore: check
  • Loading branch information
b-avb authored Aug 26, 2024
1 parent 211f695 commit 3b5eb5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions public/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2427,6 +2427,12 @@ textarea::placeholder {
@extend %text-3xl-font-bold;
color: var(--text-primary);
text-align: left;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
}

.card__description {
Expand All @@ -2435,6 +2441,7 @@ textarea::placeholder {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}

Expand Down
1 change: 0 additions & 1 deletion src/components/atoms/dynamic_text.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use dioxus::prelude::*;
use std::collections::HashMap;

#[derive(Clone, Props, PartialEq)]
pub struct DynamicTextProps {
Expand Down

0 comments on commit 3b5eb5d

Please sign in to comment.