File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ defmodule FileonchainWeb.CoreComponents do
59
59
aria-modal = "true "
60
60
tabindex = "0 "
61
61
>
62
- < div class = "flex min-h-full items-center justify-center " >
62
+ < div class = "flex min-h-full items-center justify-center p-4 sm:p-6 lg:p-8 " >
63
63
< div class = "w-full max-w-4xl p-4 sm:p-6 lg:py-8 " >
64
64
< . focus_wrap
65
65
id = { "#{ @ id } -container" }
66
66
phx-window-keydown = { JS . exec ( "data-cancel" , to: "##{ @ id } " ) }
67
67
phx-key = "escape "
68
68
phx-click-away = { JS . exec ( "data-cancel" , to: "##{ @ id } " ) }
69
- class = "shadow-brand-700/10 ring-brand-700/10 relative hidden rounded-2xl bg-brand-900 p-14 shadow-lg ring-1 transition "
69
+ class = "shadow-brand-700/10 ring-brand-700/10 relative hidden rounded-2xl bg-brand-900 p-4 sm:p-6 lg:p-8 shadow-lg ring-1 transition "
70
70
>
71
71
< div class = "absolute top-6 right-5 " >
72
72
< button
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ defmodule FileonchainWeb.FileLive.FormComponent do
16
16
@ impl true
17
17
def render ( assigns ) do
18
18
~H"""
19
- < div class = "overlay mx-auto max-w-md p-12 bg-brand-900 bg-opacity-50 text-white rounded-lg shadow-lg " >
19
+ < div class = "overlay mx-auto max-w-md p-4 sm:p-6 lg:p- 12 bg-brand-900 bg-opacity-50 text-white rounded-lg shadow-lg " >
20
20
< . header class = "text-center text-white text-2xl " >
21
21
<%= @ title %>
22
22
<: subtitle > Use this form to manage file records in your database.</: subtitle >
You can’t perform that action at this time.
0 commit comments