Fix note linked text in timeline view (in dark mode) (#6944)

This PR Fixes https://github.com/twentyhq/twenty/issues/6942

Other improvements : 
- Fetch activities (note and task) title only when loading timeline, so
we don't always have a clickable title.
- Fixed IconButton width regression.

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Gaurav Khanna
2024-09-10 07:33:08 -07:00
committed by GitHub
parent d1b4f85e8c
commit 91187dcf82
10 changed files with 107 additions and 26 deletions

View File

@ -1,6 +1,6 @@
import React from 'react';
import { css, useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import React from 'react';
import { IconComponent } from 'twenty-ui';
export type IconButtonSize = 'medium' | 'small';
@ -233,7 +233,7 @@ const StyledButton = styled.button<
white-space: nowrap;
width: ${({ size }) => (size === 'small' ? '24px' : '32px')};
min-width: ${({ size }) => (size === 'small' ? '24px' : '32px')};
&:focus {
outline: none;