fix: outline overflow

This commit is contained in:
2024-09-12 15:03:24 +01:00
parent 18ffbb5204
commit cde0d8305b
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 { GetPowWorker } from "@/Utils/wasm";
import { ZapTarget } from "@/Utils/Zapper"; import { ZapTarget } from "@/Utils/Zapper";
import FileUploadProgress from "../FileUpload";
import { OkResponseRow } from "./OkResponseRow"; import { OkResponseRow } from "./OkResponseRow";
const previewNoteOptions = { const previewNoteOptions = {
@ -667,7 +666,6 @@ export function NoteCreator() {
</div> </div>
</div> </div>
)} )}
{uploader.progress.length > 0 && <FileUploadProgress progress={uploader.progress} />}
{(note.otherEvents?.length ?? 0) > 0 && !note.preview && ( {(note.otherEvents?.length ?? 0) > 0 && !note.preview && (
<div className="flex gap-2 flex-wrap"> <div className="flex gap-2 flex-wrap">
{note.otherEvents {note.otherEvents
@ -711,6 +709,7 @@ export function NoteCreator() {
actions={ actions={
<> <>
<IconButton <IconButton
className="max-lg:!hidden"
icon={{ icon={{
name: "expand", name: "expand",
}} }}

View File

@ -98,7 +98,7 @@ function Nip96File({ file, checked, onClick }: { file: NostrEvent; checked: bool
return ( return (
<div onClick={() => onClick()}> <div onClick={() => onClick()}>
<div <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={{ style={{
backgroundImage: backgroundImage(), backgroundImage: backgroundImage(),
}}> }}>

View File

@ -74,9 +74,6 @@
"08zn6O": { "08zn6O": {
"defaultMessage": "Export Keys" "defaultMessage": "Export Keys"
}, },
"0AmhUh": {
"defaultMessage": "Popular media servers used by people you follow."
},
"0Azlrb": { "0Azlrb": {
"defaultMessage": "Manage" "defaultMessage": "Manage"
}, },
@ -1220,6 +1217,9 @@
"YDURw6": { "YDURw6": {
"defaultMessage": "Service URL" "defaultMessage": "Service URL"
}, },
"YH2RKk": {
"defaultMessage": "Popular media servers."
},
"YQZY/S": { "YQZY/S": {
"defaultMessage": "It looks like you dont follow enough people, take a look at {newUsersPage} to discover people to follow!" "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", "00LcfG": "Load more",
"01iNut": "Nostr address does not belong to you", "01iNut": "Nostr address does not belong to you",
"08zn6O": "Export Keys", "08zn6O": "Export Keys",
"0AmhUh": "Popular media servers used by people you follow.",
"0Azlrb": "Manage", "0Azlrb": "Manage",
"0BUTMv": "Search...", "0BUTMv": "Search...",
"0MndVW": "Generic LNDHub wallet (BTCPayServer / Alby / LNBits)", "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.", "Xopqkl": "Your default zap amount is {number} sats, example values are calculated from this.",
"YDMrKK": "Users", "YDMrKK": "Users",
"YDURw6": "Service URL", "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!", "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.", "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", "YU7ZYp": "Public Chat",