Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: modified primary cell (#6319)
Kilu.He68986bd170ed
diff --git a/frontend/appflowy_web_app/src/components/database/components/cell/primary/PrimaryCell.tsx b/frontend/appflowy_web_app/src/components/database/components/cell/primary/PrimaryCell.tsxindex e20cb83d0a..4e0af27757 100644--- a/frontend/appflowy_web_app/src/components/database/components/cell/primary/PrimaryCell.tsx+++ b/frontend/appflowy_web_app/src/components/database/components/cell/primary/PrimaryCell.tsx@@ -57,10 +57,12 @@ export function PrimaryCell (props: CellProps<CellType> & {// navigateToRow?.(rowId);// }// }}- className={'primary-cell relative flex min-h-full w-full items-center gap-2'}+ className={'primary-cell relative flex min-h-full w-full gap-2'}>- {icon ? <div className={'h-5 w-5 flex items-center justify-center text-base'}- >{icon}</div> : hasDocument && showDocumentIcon ? <DocumentSvg className={'h-5 w-5'}+ {icon ? <div+ className={'h-5 w-5 flex items-center justify-center text-base'}+ >{icon}</div> : hasDocument && showDocumentIcon ? <DocumentSvg+ className={'h-5 w-5'}/> : null}<div className={'flex-1 overflow-x-hidden'}><TextCell {...props} />diff --git a/frontend/appflowy_web_app/src/styles/app.scss b/frontend/appflowy_web_app/src/styles/app.scssindex 83c6e548e1..33fca75827 100644--- a/frontend/appflowy_web_app/src/styles/app.scss+++ b/frontend/appflowy_web_app/src/styles/app.scss@@ -110,8 +110,12 @@ body {}.grid-row-cell.wrap-cell {+ .primary-cell {+ @apply py-2;+ }+.text-cell {- @apply py-2 break-words whitespace-pre-wrap;+ @apply break-words whitespace-pre-wrap overflow-hidden;}.relation-cell {