Change modal sizes

This commit is contained in:
Jonatan Kłosko 2024-02-08 00:51:42 +07:00
parent f21fe7df09
commit 6d2a70bf6e
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ defmodule LivebookWeb.SessionLive.AppDockerComponent do
@impl true @impl true
def render(assigns) do def render(assigns) do
~H""" ~H"""
<div class="p-6 max-w-4xl flex flex-col space-y-8"> <div class="p-6 flex flex-col space-y-8">
<h3 class="text-2xl font-semibold text-gray-800"> <h3 class="text-2xl font-semibold text-gray-800">
App deployment App deployment
</h3> </h3>

View file

@ -96,7 +96,7 @@ defmodule LivebookWeb.SessionLive.Render do
:if={@live_action == :app_docker} :if={@live_action == :app_docker}
id="app-docker-modal" id="app-docker-modal"
show show
width={:big} width={:large}
patch={@self_path} patch={@self_path}
> >
<.live_component <.live_component
@ -241,7 +241,7 @@ defmodule LivebookWeb.SessionLive.Render do
) %> ) %>
</.modal> </.modal>
<.modal :if={@live_action == :secrets} id="secrets-modal" show width={:large} patch={@self_path}> <.modal :if={@live_action == :secrets} id="secrets-modal" show width={:medium} patch={@self_path}>
<.live_component <.live_component
module={LivebookWeb.SessionLive.SecretsComponent} module={LivebookWeb.SessionLive.SecretsComponent}
id="secrets" id="secrets"