mirror of
https://github.com/twentyhq/twenty.git
synced 2025-01-03 17:53:58 +03:00
Fixing BlockNote readability darkMode + fixing impossible to create cards for companies without name or domainName (#605)
fix-first-feedbacks
This commit is contained in:
parent
14caaf298a
commit
4150a7bb51
@ -42,7 +42,7 @@ export function NewButton({ pipelineId, columnId }: OwnProps) {
|
||||
|
||||
const handleEntitySelect = useCallback(
|
||||
async (company: Pick<Company, 'id' | 'name' | 'domainName'>) => {
|
||||
if (!company || !company.name || !company.domainName) return;
|
||||
if (!company) return;
|
||||
|
||||
setIsCreatingCard(false);
|
||||
goBackToPreviousHotkeysScope();
|
||||
|
@ -12,6 +12,7 @@ const StyledEditor = styled.div`
|
||||
& .editor {
|
||||
background: ${({ theme }) => theme.background.primary};
|
||||
font-size: 13px;
|
||||
color: ${({ theme }) => theme.font.color.primary};
|
||||
}
|
||||
& .editor [class^='_inlineContent']:before {
|
||||
color: ${({ theme }) => theme.font.color.tertiary};
|
||||
|
Loading…
Reference in New Issue
Block a user