Skip to content

Commit

Permalink
LF-4481 Update font style for group 'none' in inventory table to normal
Browse files Browse the repository at this point in the history
  • Loading branch information
SayakaOno committed Nov 20, 2024
1 parent a96f4a0 commit 9e1037f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const HoverPillOverFlow = ({ items, noneText = '' }: HoverPillOverflowProps) =>
return (
<div className={clsx(styles.text)}>
{items.length === 0 ? (
<span className={styles.italics}>{noneText}</span>
<span>{noneText}</span>
) : (
<span className={styles.marginRight8px}>{items[0]}</span>
)}
Expand Down
10 changes: 3 additions & 7 deletions packages/webapp/src/components/Table/Cell/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
font-weight: 400;
}

.overflowText, .overflowText div {
.overflowText,
.overflowText div {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
Expand Down Expand Up @@ -45,7 +46,6 @@
width: 32px;
padding: 4px;
@include svgColorFill(var(--Colors-Primary-Primary-teal-300));

}

.withSubtextText {
Expand Down Expand Up @@ -73,7 +73,7 @@
padding: 4px;
border-radius: 2px;
background: var(--Colors-Accent---singles-Purple-light);
box-shadow: 1px 1px 0px 0px #FFF;
box-shadow: 1px 1px 0px 0px #fff;
color: var(--Colors-Accent---singles-Purple-full);
font-size: 12px;
font-weight: 700;
Expand All @@ -84,7 +84,3 @@
align-items: center;
gap: 8px;
}

.italics {
font-style: italic;
}

0 comments on commit 9e1037f

Please sign in to comment.