diff --git a/apps/desktop/src/app.css b/apps/desktop/src/app.css index fcc160cb..4c25b06a 100644 --- a/apps/desktop/src/app.css +++ b/apps/desktop/src/app.css @@ -14,7 +14,7 @@ } .shadow-toolbar { - box-shadow: 0 0 #0000,0 0 #0000,0 8px 24px 0 rgba(0,0,0,.2),0 2px 8px 0 rgba(0,0,0,.08),inset 0 0 0 1px rgba(0,0,0,.2),inset 0 0 0 2px hsla(0,0%,100%,.14) + box-shadow: 0 0 #0000, 0 0 #0000, 0 8px 24px 0 rgba(0, 0, 0, .2), 0 2px 8px 0 rgba(0, 0, 0, .08), inset 0 0 0 1px rgba(0, 0, 0, .2), inset 0 0 0 2px hsla(0, 0%, 100%, .14) } } @@ -42,3 +42,7 @@ input::-ms-clear { .border { background-clip: padding-box; } + +media-controller { + @apply w-full; +} \ No newline at end of file diff --git a/packages/ark/src/components/note/preview/video.tsx b/packages/ark/src/components/note/preview/video.tsx index 3fced92d..5a82a1ed 100644 --- a/packages/ark/src/components/note/preview/video.tsx +++ b/packages/ark/src/components/note/preview/video.tsx @@ -5,7 +5,6 @@ import { MediaPlayButton, MediaTimeDisplay, MediaTimeRange, - MediaVolumeRange, } from "media-chrome/dist/react"; export function VideoPreview({ url }: { url: string }) { @@ -24,7 +23,6 @@ export function VideoPreview({ url }: { url: string }) { - diff --git a/packages/ark/src/components/user/followButton.tsx b/packages/ark/src/components/user/followButton.tsx index d7dc3672..20bf6ada 100644 --- a/packages/ark/src/components/user/followButton.tsx +++ b/packages/ark/src/components/user/followButton.tsx @@ -13,6 +13,7 @@ export function UserFollowButton({ const [followed, setFollowed] = useState(false); const toggleFollow = async () => { + setLoading(true); if (!followed) { const add = await ark.createContact(target); if (add) setFollowed(true); @@ -20,6 +21,7 @@ export function UserFollowButton({ const remove = await ark.deleteContact(target); if (remove) setFollowed(false); } + setLoading(false); }; useEffect(() => { @@ -37,7 +39,12 @@ export function UserFollowButton({ }, []); return ( -