feat: updated "note editing disabled" design (#1033)

This commit is contained in:
Aman Harwara
2022-05-19 17:49:13 +05:30
committed by GitHub
parent 9524a83ec3
commit cb6a81afd6
3 changed files with 10 additions and 12 deletions

View File

@@ -167,7 +167,7 @@ const NoteSizeWarning: FunctionComponent<{
note: SNNote
}> = ({ note }) => {
return new Blob([note.text]).size > NOTE_SIZE_WARNING_THRESHOLD ? (
<div className="flex items-center px-3 py-3.5 relative bg-note-size-warning">
<div className="flex items-center px-3 py-3.5 relative bg-warning">
<Icon type="warning" className="color-accessory-tint-3 flex-shrink-0 mr-3" />
<div className="color-grey-0 select-none leading-140% max-w-80%">
This note may have trouble syncing to the mobile application due to its size.