fix: outline overflow

This commit is contained in:
kieran 2024-09-12 15:03:24 +01:00
parent 18ffbb5204
commit cde0d8305b
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941
4 changed files with 6 additions and 7 deletions

View File

@ -31,7 +31,6 @@ import useFileUpload, { addExtensionToNip94Url, nip94TagsToIMeta, readNip94Tags
import { GetPowWorker } from "@/Utils/wasm";
import { ZapTarget } from "@/Utils/Zapper";
import FileUploadProgress from "../FileUpload";
import { OkResponseRow } from "./OkResponseRow";
const previewNoteOptions = {
@ -667,7 +666,6 @@ export function NoteCreator() {
</div>
</div>
)}
{uploader.progress.length > 0 && <FileUploadProgress progress={uploader.progress} />}
{(note.otherEvents?.length ?? 0) > 0 && !note.preview && (
<div className="flex gap-2 flex-wrap">
{note.otherEvents
@ -711,6 +709,7 @@ export function NoteCreator() {
actions={
<>
<IconButton
className="max-lg:!hidden"
icon={{
name: "expand",
}}

View File

@ -98,7 +98,7 @@ function Nip96File({ file, checked, onClick }: { file: NostrEvent; checked: bool
return (
<div onClick={() => onClick()}>
<div
className="relative bg-layer-2 rounded-lg overflow-hidden aspect-square cursor-pointer hover:outline outline-highlight bg-cover bg-center"
className="relative bg-layer-2 rounded-lg overflow-hidden aspect-square cursor-pointer hover:outline outline-highlight bg-cover bg-center m-1"
style={{
backgroundImage: backgroundImage(),
}}>

View File

@ -74,9 +74,6 @@
"08zn6O": {
"defaultMessage": "Export Keys"
},
"0AmhUh": {
"defaultMessage": "Popular media servers used by people you follow."
},
"0Azlrb": {
"defaultMessage": "Manage"
},
@ -1220,6 +1217,9 @@
"YDURw6": {
"defaultMessage": "Service URL"
},
"YH2RKk": {
"defaultMessage": "Popular media servers."
},
"YQZY/S": {
"defaultMessage": "It looks like you dont follow enough people, take a look at {newUsersPage} to discover people to follow!"
},

View File

@ -24,7 +24,6 @@
"00LcfG": "Load more",
"01iNut": "Nostr address does not belong to you",
"08zn6O": "Export Keys",
"0AmhUh": "Popular media servers used by people you follow.",
"0Azlrb": "Manage",
"0BUTMv": "Search...",
"0MndVW": "Generic LNDHub wallet (BTCPayServer / Alby / LNBits)",
@ -404,6 +403,7 @@
"Xopqkl": "Your default zap amount is {number} sats, example values are calculated from this.",
"YDMrKK": "Users",
"YDURw6": "Service URL",
"YH2RKk": "Popular media servers.",
"YQZY/S": "It looks like you dont follow enough people, take a look at {newUsersPage} to discover people to follow!",
"YR2I9M": "No keys, no {app}, There is no way to reset it if you don't back up. It only takes a minute.",
"YU7ZYp": "Public Chat",