-
- {props.children}
-
+
);
}
diff --git a/packages/app/src/Element/NostrFileHeader.tsx b/packages/app/src/Element/NostrFileHeader.tsx
index c63d560..91bb015 100644
--- a/packages/app/src/Element/NostrFileHeader.tsx
+++ b/packages/app/src/Element/NostrFileHeader.tsx
@@ -5,7 +5,7 @@ import { findTag, NostrLink } from "Util";
import useEventFeed from "Feed/EventFeed";
import PageSpinner from "Element/PageSpinner";
import Reveal from "Element/Reveal";
-import { MediaElement } from "Element/MediaLink";
+import { MediaElement } from "Element/MediaElement";
export default function NostrFileHeader({ link }: { link: NostrLink }) {
const ev = useEventFeed(link);
diff --git a/packages/app/src/Element/RevealMedia.tsx b/packages/app/src/Element/RevealMedia.tsx
index 72ad233..8cdda24 100644
--- a/packages/app/src/Element/RevealMedia.tsx
+++ b/packages/app/src/Element/RevealMedia.tsx
@@ -3,7 +3,7 @@ import { FormattedMessage } from "react-intl";
import { FileExtensionRegex } from "Const";
import Reveal from "Element/Reveal";
import useLogin from "Hooks/useLogin";
-import { MediaElement } from "Element/MediaLink";
+import { MediaElement } from "Element/MediaElement";
interface RevealMediaProps {
creator: string;
diff --git a/packages/app/src/index.css b/packages/app/src/index.css
index 89461fd..8086846 100644
--- a/packages/app/src/index.css
+++ b/packages/app/src/index.css
@@ -417,27 +417,6 @@ div.form-col {
grid-template-columns: auto;
}
-.modal {
- position: absolute;
- width: 100vw;
- height: 100vh;
- top: 0;
- left: 0;
- background-color: rgba(0, 0, 0, 0.8);
-}
-
-.modal .modal-content {
- display: flex;
- justify-content: center;
-}
-
-.modal .modal-content > div {
- padding: 10px;
- border-radius: 10px;
- background-color: var(--gray);
- margin-top: 5vh;
-}
-
body.scroll-lock {
overflow: hidden;
height: 100vh;