From 1a824d409175593a715e1f2f1c0d6f62a56a0f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Mon, 26 Sep 2022 11:07:09 +0200 Subject: [PATCH] Show sidebar on desktop --- lib/livebook_web/live/layout_helpers.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/livebook_web/live/layout_helpers.ex b/lib/livebook_web/live/layout_helpers.ex index f083e3eb6..40d159305 100644 --- a/lib/livebook_web/live/layout_helpers.ex +++ b/lib/livebook_web/live/layout_helpers.ex @@ -58,7 +58,7 @@ defmodule LivebookWeb.LayoutHelpers do aria-label="hide sidebar" data-el-toggle-sidebar phx-click={ - JS.add_class("hidden sm:flex", to: "[data-el-sidebar]") + JS.add_class("hidden", to: "[data-el-sidebar]") |> JS.toggle(to: "[data-el-toggle-sidebar]", display: "flex") } > @@ -68,7 +68,7 @@ defmodule LivebookWeb.LayoutHelpers do aria-label="show sidebar" data-el-toggle-sidebar phx-click={ - JS.remove_class("hidden sm:flex", to: "[data-el-sidebar]") + JS.remove_class("hidden", to: "[data-el-sidebar]") |> JS.toggle(to: "[data-el-toggle-sidebar]", display: "flex") } > @@ -81,7 +81,7 @@ defmodule LivebookWeb.LayoutHelpers do defp sidebar(assigns) do ~H"""