From f80ac680353edf442a5d056c52ec1d8402612c0c Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 18 Apr 2023 11:58:04 -0700 Subject: [PATCH] gallery styling --- packages/client/src/pages/gallery/post.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/client/src/pages/gallery/post.vue b/packages/client/src/pages/gallery/post.vue index 0c104b4c7..8eb104624 100644 --- a/packages/client/src/pages/gallery/post.vue +++ b/packages/client/src/pages/gallery/post.vue @@ -203,7 +203,7 @@ function shareWithNote() { } function like() { - os.apiWithDialog("gallery/posts/like", { + os.api("gallery/posts/like", { postId: props.postId, }).then(() => { post.isLiked = true; @@ -266,6 +266,7 @@ definePageMetadata( max-width: 100%; max-height: 500px; margin: 0 auto; + border-radius: 10px; } & + .file {