Skip to content

The open alternative to Salesforce, designed for AI.

A few design fixes (#424)

Charles Bochet643d090091cf
diff --git a/front/src/modules/comments/components/CommentHeader.tsx b/front/src/modules/comments/components/CommentHeader.tsx
index 70f57f44bce..c2690390ab5 100644
--- a/front/src/modules/comments/components/CommentHeader.tsx
+++ b/front/src/modules/comments/components/CommentHeader.tsx
@@ -56,7 +56,7 @@ const StyledTooltip = styled(Tooltip)`
box-shadow: 2px 4px 16px 6px
${(props) => props.theme.lightBackgroundTransparent};
- color: ${(props) => props.theme.text100};
+ color: ${(props) => props.theme.text80};
opacity: 1;
padding: 8px;
diff --git a/front/src/modules/comments/components/CommentThread.tsx b/front/src/modules/comments/components/CommentThread.tsx
index 1a82cc6fdc8..328391e9eaa 100644
--- a/front/src/modules/comments/components/CommentThread.tsx
+++ b/front/src/modules/comments/components/CommentThread.tsx
@@ -42,8 +42,6 @@ const StyledThreadItemListContainer = styled.div`
gap: ${(props) => props.theme.spacing(4)};
justify-content: flex-start;
- max-height: 400px;
- overflow: auto;
width: 100%;
`;
diff --git a/front/src/modules/ui/layout/navbar/NavItem.tsx b/front/src/modules/ui/layout/navbar/NavItem.tsx
index 2c353db01d4..21d9ae0d5b8 100644
--- a/front/src/modules/ui/layout/navbar/NavItem.tsx
+++ b/front/src/modules/ui/layout/navbar/NavItem.tsx
@@ -28,7 +28,7 @@ const StyledItem = styled.button<StyledItemProps>`
border-radius: 4px;
color: ${(props) => {
if (props.active) {
- return props.theme.text100;
+ return props.theme.text80;
}
if (props.danger) {
return props.theme.red;
@@ -49,7 +49,7 @@ const StyledItem = styled.button<StyledItemProps>`
pointer-events: ${(props) => (props.soon ? 'none' : 'auto')};
:hover {
background: ${(props) => props.theme.lightBackgroundTransparent};
- color: ${(props) => (props.danger ? props.theme.red : props.theme.text100)};
+ color: ${(props) => (props.danger ? props.theme.red : props.theme.text80)};
}
user-select: none;
diff --git a/front/src/modules/ui/layout/top-bar/TopBar.tsx b/front/src/modules/ui/layout/top-bar/TopBar.tsx
index 024b0a15086..0c19de089e2 100644
--- a/front/src/modules/ui/layout/top-bar/TopBar.tsx
+++ b/front/src/modules/ui/layout/top-bar/TopBar.tsx
@@ -30,7 +30,7 @@ const AddButtonContainer = styled.div`
align-items: center;
border: 1px solid ${(props) => props.theme.primaryBorder};
border-radius: 4px;
- color: ${(props) => props.theme.text80};
+ color: ${(props) => props.theme.text40};
cursor: pointer;
display: flex;
flex-shrink: 0;