Skip to content

Commit

Permalink
fixes isSelected bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkTrepanier committed Feb 25, 2024
1 parent 0a92caa commit bfcbfe7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const LibraryCard = (props) => {
style={contentContainerStyle}
>
<ContentTextarea
className={`library-card-textarea ${isSelected}? "selected" : ""`}
className={`library-card-textarea ${isSelected ? "selected" : ""}`}
value={cardText}
saveValue={(v) => dispatch(actions.updCardText(cardId, v))}
setEditingParent={setEditingCard}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ $round-radius: 12px;
display: -webkit-box;

max-width: 100%;
margin: 0 auto;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
Expand All @@ -75,7 +76,7 @@ $round-radius: 12px;

font-family: "Roboto";

sc &::-webkit-scrollbar {
&::-webkit-scrollbar {
width: 19px;
}
&::-webkit-scrollbar-track {
Expand All @@ -93,7 +94,6 @@ $round-radius: 12px;
flex: 1 1 auto;
overflow-y: auto;
-webkit-line-clamp: inherit;
background-color: pink;
}
}

Expand Down

0 comments on commit bfcbfe7

Please sign in to comment.