From a2c58f8d8ea9db763506d3eb3c8708c4238557fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Fri, 24 Mar 2023 15:22:50 +0100 Subject: [PATCH] Improve apps on mobile (#1821) --- lib/livebook_web/live/app_live.ex | 135 ++++++++++++++---------------- 1 file changed, 65 insertions(+), 70 deletions(-) diff --git a/lib/livebook_web/live/app_live.ex b/lib/livebook_web/live/app_live.ex index 2c286e769..ecd409a45 100644 --- a/lib/livebook_web/live/app_live.ex +++ b/lib/livebook_web/live/app_live.ex @@ -55,77 +55,72 @@ defmodule LivebookWeb.AppLive do @impl true def render(assigns) when assigns.app_authenticated? do ~H""" -
-
- <.menu id="app-menu" position={:bottom_left}> - <:toggle> - - - <.menu_item> - <.link navigate={~p"/"} role="menuitem"> - <.remix_icon icon="home-6-line" /> - Home - - - <.menu_item :if={@data_view.show_source}> - <.link patch={~p"/apps/#{@data_view.slug}/source"} role="menuitem"> - <.remix_icon icon="code-line" /> - View source - - - -
-
-
-
-
-

- <%= @data_view.notebook_name %> -

-
-
- - - - - -
- Booting -
-
-
- - - -
- Error -
-
-
-
- -
-
-
+
+
+
+ <.menu id="app-menu" position={:bottom_left}> + <:toggle> + + + <.menu_item> + <.link navigate={~p"/"} role="menuitem"> + <.remix_icon icon="home-6-line" /> + Home + + + <.menu_item :if={@data_view.show_source}> + <.link patch={~p"/apps/#{@data_view.slug}/source"} role="menuitem"> + <.remix_icon icon="code-line" /> + View source + + +
+
+
+

+ <%= @data_view.notebook_name %> +

+
+
+ + + + + +
+ Booting +
+
+
+ + + +
+ Error +
+
+
+
+ +
+
+