diff --git a/assets/css/app.css b/assets/css/app.css index d2a488c..8909f01 100755 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -47,6 +47,7 @@ body{ display: flex; flex-direction: column; align-items: center; + margin-right: 150px; } .log_in_form{ @@ -66,10 +67,11 @@ body{ flex-direction: column; align-items: center; border-radius: 5px; - padding: 15px; height: max-content; - max-width: 250px; + width: 400px; text-align: center; + padding-top: 25px; + padding-bottom: 25px; } .reg_form{ @@ -80,8 +82,9 @@ body{ align-items: center; padding: 15px; height: max-content; - width: 300px; text-align: center; + width: 400px; + height: max-content; } div > .reg_form{} @@ -205,7 +208,7 @@ div > .reg_form{} .login-container{ display: flex; - justify-content: space-evenly; + justify-content: center; margin-top: 50px; align-items: flex-start; } @@ -213,7 +216,7 @@ div > .reg_form{} .welcome_text{ background-color: #a0cfd2; width: 40%; - padding: 30px; + padding: 35px; max-width: 500px; font-size: 18px; border-radius: 5px; diff --git a/lib/derivantes_web/components/core_components.ex b/lib/derivantes_web/components/core_components.ex index 473d592..7bb5b35 100755 --- a/lib/derivantes_web/components/core_components.ex +++ b/lib/derivantes_web/components/core_components.ex @@ -429,10 +429,10 @@ defmodule DerivantesWeb.CoreComponents do ~H"""
-

+

<%= render_slot(@inner_block) %>

-

+

<%= render_slot(@subtitle) %>

diff --git a/lib/derivantes_web/controllers/page_html/home.html.heex b/lib/derivantes_web/controllers/page_html/home.html.heex index fd916f5..a343d7c 100755 --- a/lib/derivantes_web/controllers/page_html/home.html.heex +++ b/lib/derivantes_web/controllers/page_html/home.html.heex @@ -1,4 +1,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/lib/derivantes_web/live/user_registration_live.ex b/lib/derivantes_web/live/user_registration_live.ex index e297eeb..cca7987 100755 --- a/lib/derivantes_web/live/user_registration_live.ex +++ b/lib/derivantes_web/live/user_registration_live.ex @@ -7,7 +7,7 @@ defmodule DerivantesWeb.UserRegistrationLive do def render(assigns) do ~H"""
- <.header class="text-center mb-5 mt-5"> + <.header class="text-center mb-5 mt-5 text-xl"> Registre su nueva cuenta <:subtitle> ¿Ya tiene una cuenta? @@ -31,13 +31,13 @@ defmodule DerivantesWeb.UserRegistrationLive do <.error :if={@check_errors}> Hubo un error. - Sanatorio Americano Logo + Sanatorio Americano Logo <.input class="imput_text w-40" field={@form[:matricula]} type="text" placeholder="Matrícula" required /> <.input class="imput_text w-40" field={@form[:email]} type="email" placeholder="Email" required /> <.input class="imput_text w-40" field={@form[:password]} type="password" placeholder="Contraseña" required /> <:actions> - <.button phx-disable-with="Creando cuenta..." class="submit_button" style="margin-top: 15px;">Crear cuenta + <.button phx-disable-with="Creando cuenta..." class="submit_button" style="margin-top: 20px; margin-bottom: 25px;">Crear cuenta