mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
web: fix error text ui
This commit is contained in:
committed by
Abdullah Atta
parent
6dd7a4960f
commit
a910c819f2
@@ -32,6 +32,7 @@ export function ErrorText(props: ErrorTextProps) {
|
||||
p={1}
|
||||
sx={{
|
||||
borderRadius: "default",
|
||||
mt: 2,
|
||||
...sx,
|
||||
alignItems: "flex-start",
|
||||
maxHeight: 300,
|
||||
|
||||
@@ -105,7 +105,7 @@ export const ConfirmDialog = DialogManager.register(function ConfirmDialog<
|
||||
/>
|
||||
) : null}
|
||||
{warnings?.map((text) => (
|
||||
<ErrorText key={text} error={text} />
|
||||
<ErrorText key={text} error={text} sx={{ mt: 0 }} />
|
||||
))}
|
||||
{checks
|
||||
? Object.entries<Check | undefined>(checks).map(
|
||||
|
||||
Reference in New Issue
Block a user