fix: updated "editing disabled" banner (#1037)

This commit is contained in:
Aman Harwara
2022-05-23 19:41:19 +05:30
committed by GitHub
parent 0e258856d8
commit 079140eb92
5 changed files with 57 additions and 15 deletions

View File

@@ -167,9 +167,9 @@ 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-warning">
<div className="flex items-center px-3 py-3.5 relative bg-warning-faded">
<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%">
<div className="color-warning-contrast select-none leading-140% max-w-80%">
This note may have trouble syncing to the mobile application due to its size.
</div>
</div>