From 87bc7f8099ac5fcf8aadfbc7e4528d2d647ae9cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Fri, 24 Dec 2021 14:36:38 +0100 Subject: [PATCH] Slightly improving follow request popup design --- .../Components/FollowMenu/FollowMenu.svelte | 27 +++++++------------ 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/front/src/Components/FollowMenu/FollowMenu.svelte b/front/src/Components/FollowMenu/FollowMenu.svelte index 035bc06f..59194db2 100644 --- a/front/src/Components/FollowMenu/FollowMenu.svelte +++ b/front/src/Components/FollowMenu/FollowMenu.svelte @@ -87,12 +87,9 @@ vim: ft=typescript {#if followState === followStates.requesting}
-
-

Interaction

-
{#if followRole === followRoles.follower} -
-

Do you want to follow {name(followUsers[0])}?

+
+

Do you want to follow {name(followUsers[0])}?

@@ -197,7 +197,6 @@ vim: ft=typescript color: whitesmoke; position: relative; - height: 19vh; width: 60vw; top: 60vh; margin: auto; @@ -220,17 +219,11 @@ vim: ft=typescript section.interact-menu-action { display: grid; - grid-template-columns: 50% 50%; + grid-gap: 10%; + grid-template-columns: 45% 45%; margin-bottom: 20px; - - button { - display: inline-block; - margin: 4px; - padding: 0px; - border: medium solid black; - font-weight: bold; - height: 2.5em; - } + margin-left: 5%; + margin-right: 5%; } }