|
49 | 49 | <label for="description_button" class="atomic-label atomic-label--required"> |
50 | 50 | Description |
51 | 51 | </label> |
52 | | - <.button id="description_button" class="group atomic-button atomic-button--primary-outline flex flex-col items-start rounded-md border-gray-300 bg-white px-3 py-3 text-gray-300 focus-within:bg-white lg:w-full" type="button" phx-click="toggle_description_modal" phx-target={@myself}> |
| 52 | + <.button id="description_button" class="group atomic-button atomic-button--primary-outline flex flex-col items-start rounded-md border-gray-300 bg-white px-3 py-[10px] sm:py-2 text-gray-300 focus-within:bg-white lg:w-full" type="button" phx-click="toggle_description_modal" phx-target={@myself}> |
53 | 53 | <%= if not @has_description? do %> |
54 | 54 | <label class="cursor-pointer text-left text-gray-500"> |
55 | 55 | Add description |
|
72 | 72 | </div> |
73 | 73 | </.button> |
74 | 74 |
|
75 | | - <div class="mt-4 flex flex-col justify-center md:flex-row md:justify-start xl:justify-between"> |
| 75 | + <div class="flex flex-col justify-center md:flex-row md:justify-start xl:justify-between"> |
76 | 76 | <.inputs_for :let={fl} field={@form[:location]}> |
77 | | - <div class="flex flex-col gap-y-1"> |
| 77 | + <div class="mt-3 sm:mt-4 flex flex-col gap-y-1"> |
78 | 78 | <.field class="atomic-button atomic-button--primary-outline text-gray-900" type="text" field={fl[:name]} label="Location" placeholder="Choose location name" required /> |
79 | 79 | </div> |
80 | | - <div class="mt-4 flex flex-col gap-y-1 sm:mt-0 md:ml-8"> |
| 80 | + <div class="-mt-2 sm:-mt-2 md:mt-4 flex flex-col gap-y-1 sm:mt-0 md:ml-8"> |
81 | 81 | <.field class="atomic-button atomic-button--primary-outline text-gray-900" type="text" field={fl[:address]} label="Address" placeholder="Address" required /> |
82 | 82 | </div> |
83 | 83 | </.inputs_for> |
84 | 84 | </div> |
85 | 85 |
|
86 | | - <label for="capacity_button" class="atomic-label atomic-label--required"> |
| 86 | + <label for="capacity_button" class="atomic-label atomic-label--required -mt-2"> |
87 | 87 | Capacity |
88 | 88 | </label> |
89 | | - <.button id="capacity_button" type="button" class="group atomic-button atomic-button--primary-outline flex flex-col items-start rounded-md border-gray-300 bg-white px-3 py-3 text-gray-300 focus-within:bg-white lg:w-full" phx-click="toggle_maximum_entries_modal" phx-target={@myself}> |
| 89 | + <.button id="capacity_button" type="button" class="group atomic-button atomic-button--primary-outline flex flex-col items-start rounded-md border-gray-300 bg-white px-3 py-[10px] sm:py-2 text-gray-300 focus-within:bg-white lg:w-full" phx-click="toggle_maximum_entries_modal" phx-target={@myself}> |
90 | 90 | <%= if @has_max_capacity? do %> |
91 | 91 | <.field |
92 | | - class="cursor-pointer border-none bg-transparent p-0 text-sm text-gray-900 shadow-none focus:border-transparent focus:outline-none focus:ring-0" |
| 92 | + class="cursor-pointer border-none bg-transparent p-0 text-sm text-gray-900 shadow-none focus:border-transparent focus:outline-none focus:ring-0 atomic-text-input" |
93 | 93 | type="number" |
94 | 94 | field={@form[:maximum_entries]} |
95 | 95 | label="Maximum entries" |
|
0 commit comments