Skip to content

Commit

Permalink
Merge pull request #1362 from buttercup/fix/attachments_ui
Browse files Browse the repository at this point in the history
Fix attachments UI
  • Loading branch information
perry-mitchell authored Aug 9, 2024
2 parents a1b88bf + 4911eb8 commit 18bd846
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/renderer/components/vault/CreditCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function CreditCard(props) {
});
return (
<Container>
<Card cvc={cc.cvv} expiry={cc.expiry} focused="" name={cc.name} number={cc.number} />
<Card cvc={cc.cvv} expiry={cc.expiry} focused name={cc.name} number={cc.number} />
</Container>
);
}
4 changes: 2 additions & 2 deletions source/renderer/components/vault/EntryDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ const Attachments = ({
{t("vault-ui.attachments.drop-instruction")}
</AttachmentDropInstruction>
)}
{attachments.map(attachment => {
{attachments.map(attachment => (
<AttachmentItem
key={attachment.id}
title={attachment.name}
Expand All @@ -335,7 +335,7 @@ const Attachments = ({
<AttachmentItemSize>{attachment.sizeEncFriendly}</AttachmentItemSize>
<AttachmentItemTitle>{attachment.name}</AttachmentItemTitle>
</AttachmentItem>
})}
))}
<Drawer
icon={(previewingAttachment && previewingAttachment.icon) || undefined}
isOpen={!!previewingAttachment}
Expand Down
3 changes: 3 additions & 0 deletions source/renderer/components/vault/styles/vault-ui.sass
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ a
.theme-light
.split-pane-entries, .split-pane-entry-details
background-color: #f6f7f9

.split-view .sash-container .sash.sash-vertical
z-index: 5 !important

0 comments on commit 18bd846

Please sign in to comment.