chore: lint

This commit is contained in:
Aman Harwara
2023-07-12 23:59:58 +05:30
parent 139e8789a4
commit 3f796b48eb
104 changed files with 169 additions and 169 deletions

View File

@@ -8,7 +8,7 @@ type Props = {
}
const EncryptionStatusItem: FunctionComponent<Props> = ({ icon, status, checkmark = true }) => (
<div className="text-input min-h-8 no-border my-1 flex w-full flex-row items-center rounded bg-contrast py-1.5 px-3 focus-within:ring-info">
<div className="text-input min-h-8 no-border my-1 flex w-full flex-row items-center rounded bg-contrast px-3 py-1.5 focus-within:ring-info">
{icon}
<div className="min-h-1 min-w-3" />
<div className="flex-grow text-sm text-text">{status}</div>

View File

@@ -80,14 +80,14 @@ const ErroredItems: FunctionComponent = () => {
<Text>{`${erroredItems.length} items are errored and could not be decrypted.`}</Text>
<div className="flex">
<Button
className="mt-3 mr-2 min-w-20"
className="mr-2 mt-3 min-w-20"
label="Export all"
onClick={() => {
void application.getArchiveService().downloadEncryptedItems(erroredItems)
}}
/>
<Button
className="mt-3 mr-2 min-w-20"
className="mr-2 mt-3 min-w-20"
colorStyle="danger"
label="Delete all"
onClick={() => {
@@ -107,21 +107,21 @@ const ErroredItems: FunctionComponent = () => {
<Text>Last Modified: {item.updatedAtString}</Text>
<div className="flex">
<Button
className="mt-3 mr-2 min-w-20"
className="mr-2 mt-3 min-w-20"
label="Attempt decryption"
onClick={() => {
attemptDecryption(item)
}}
/>
<Button
className="mt-3 mr-2 min-w-20"
className="mr-2 mt-3 min-w-20"
label="Export"
onClick={() => {
void application.getArchiveService().downloadEncryptedItem(item)
}}
/>
<Button
className="mt-3 mr-2 min-w-20"
className="mr-2 mt-3 min-w-20"
colorStyle="danger"
label="Delete"
onClick={() => {

View File

@@ -11,7 +11,7 @@ const AuthAppInfoTooltip = () => {
<HovercardAnchor store={infoHovercard}>
<Icon type="info" />
</HovercardAnchor>
<Hovercard store={infoHovercard} className=" max-w-76 rounded border border-border bg-default py-2 px-3 text-sm">
<Hovercard store={infoHovercard} className=" max-w-76 rounded border border-border bg-default px-3 py-2 text-sm">
Some apps, like Google Authenticator, do not back up and restore your secret keys if you lose your device or get
a new one.
</Hovercard>